[CH3:1][N:2]1[CH2:7][CH2:6][C:5](=[O:8])[CH2:4][CH2:3]1.CO[CH:11](OC)[N:12]([CH3:14])[CH3:13]>C1(C)C=CC=CC=1>[CH3:11][N:12]([CH:14]=[C:4]1[C:5](=[O:8])[CH2:6][CH2:7][N:2]([CH3:1])[CH2:3]1)[CH3:13]To a solution of 1-methylpiperidin-4-one (10 g, 88 mmol) in toluene (100 mL) was added 1,1-dimethoxy-N,N-dimethylmethanamine (52.7 g, 0.442 mol). The solution was heated to reflux overnight. The solvents were evaporated in vacuo, heptane (100 ml) was added and the solvents evaporated again to give the desired product. NMR indicated that the product was 70-80% pure and it was used in the next step without further purification.