[N:1]1([C:7]2[CH:16]=[CH:15][C:10]([C:11]([O:13][CH3:14])=[O:12])=[CH:9][N:8]=2)[CH2:6][CH2:5][NH:4][CH2:3][CH2:2]1.C(=O)([O-])[O-].[Na+].[Na+].[CH:23]1(Br)[CH2:27][CH2:26][CH2:25][CH2:24]1.[Na+].[I-]>CN(C=O)C.O>[CH:23]1([N:4]2[CH2:3][CH2:2][N:1]([C:7]3[CH:16]=[CH:15][C:10]([C:11]([O:13][CH3:14])=[O:12])=[CH:9][N:8]=3)[CH2:6][CH2:5]2)[CH2:27][CH2:26][CH2:25][CH2:24]1To a solution of 2.21 g of methyl 6-piperazinylnicotinate (compound 6), 3.18 g of sodium carbonate and 1.64 g of cyclopentyl bromide in 50 ml of DMF was added a catalytic amount of NaI. The mixture was heated to 120°-130° C. and stirred for 4 hours. The resulting mixture was poured into 150 ml of water and extracted with ethyl acetate. The extract was washed twice with water, and once with a saturated aqueous sodium chloride solution, then dried over anhydrous magnesium sulfate and concentrated. Purification of the concentrate by column chromatography (silica gel; ethyl acetate) afforded 1.73 g of methyl 6-(4 -cyclopentyl-1-piperazinyl)nicotinate (yield 60%).