Method and device for drug delivery