To a solution of 1 mmol aniline/benzylamine derivatives in 4 ml DMF, 1 mmol chloroacetylchloride was added at 0 °C. The mixture was stirred at room temperature for 5 h and poured into water and then filtered to get phenylacetamide derivatives. The obtained solids were then filtered, dried, and recrystallized from ethanol.