[C:1]([C:3]1[CH:4]=[C:5]([CH:8]=[CH:9][CH:10]=1)[CH2:6]Cl)#[N:2].[C:11]1(=[O:21])[NH:15][C:14](=[O:16])[C:13]2=[CH:17][CH:18]=[CH:19][CH:20]=[C:12]12.[K].O>CN(C)C=O>[C:1]([C:3]1[CH:4]=[C:5]([CH:8]=[CH:9][CH:10]=1)[CH2:6][N:15]1[C:14](=[O:16])[C:13]2=[CH:17][CH:18]=[CH:19][CH:20]=[C:12]2[C:11]1=[O:21])#[N:2]A solution of 3-cyanobenzyl chloride (13.3 g) in N,N-dimethylformamide (30 ml) was added dropwise to a suspension of potassium phthalimide (15.9 g) in N,N-dimethylformamide (160 ml) at ambient temperature under stirring and the resultant mixture was stirred for 12 hours at ambient temperature. The reaction mixture was poured into water and the precipitate was collected by filtration. The precipitate was dissolved in a mixture of ethyl acetate and tetrahydrofuran and the resultant solution was washed with brine and dried over magnesium sulfate. The solvent was concentrated in vacuo and the precipitate was collected by filtration to give N-(3-cyanobenzyl)phthalimide (17.1 g).