DMF for drug formulation