[C:1]([C:3]1([C:23]2[CH:28]=[CH:27][CH:26]=[CH:25][CH:24]=2)[CH2:8][CH2:7][N:6]([CH2:9][CH2:10][CH2:11]C2C=CC=C3C(NC(=O)C=23)=O)[CH2:5][CH2:4]1)#[N:2].[NH2:29]N>CO>[C:1]([C:3]1([C:23]2[CH:28]=[CH:27][CH:26]=[CH:25][CH:24]=2)[CH2:8][CH2:7][N:6]([CH2:9][CH2:10][CH2:11][NH2:29])[CH2:5][CH2:4]1)#[N:2]To a solution of 3-(4-cyano-4-phenylpiperidin-1-yl)propylphthalimide (112 g, 0.3 mol) in methanol (1.5 L), hydrazine (30 mL) was added and the mixture was stirred and refluxed for 20 hours. It was cooled, the white solid formed was filtered and washed with more methanol (200 mL). Solvent was evaporated from the filtrate and residue was dried under vacuum for 4 hours. Chloroform (500 mL) was added to this, stirred for 1 hour and filtered. The white solid was washed with more chloroform (200 mL), the solvent was evaporated from the combined filtrates to leave the product as an oil (70 g, 96%).