[Cl-].[Al+3].[Cl-].[Cl-].[CH3:5][N:6]1[CH2:11][CH2:10][CH:9]([C:12](Cl)=[O:13])[CH2:8][CH2:7]1.[CH:15]1[CH:20]=[CH:19][CH:18]=[CH:17][CH:16]=1>>[CH3:5][N:6]1[CH2:11][CH2:10][CH:9]([C:12]([C:15]2[CH:20]=[CH:19][CH:18]=[CH:17][CH:16]=2)=[O:13])[CH2:8][CH2:7]1To a cooled suspension of anhydrous aluminum chloride (20 g, 75 mmol) in benzene 30 ml at 0° C. was added 1-methylpiperidine-4-carboxylic acid chloride in small portions and the resulted mixture was refluxed for 3 hours. The reaction mixture was cooled down, poured-into ice water. The organic phase was discarded. The aqueous solution was washed with 2×50 ml ethyl ether, basified with potassium hydroxide pellet slowly to pH >10 and extracted with ethyl ether 4×50 ml. The combined ethereal solution was dried over sodium sulfate and concentrated to give 9.5 g of the title compound in 84% yield.