modify drug func