[N:1]1([C:11]([O:13][C:14]([CH3:17])([CH3:16])[CH3:15])=[O:12])[CH2:6][CH2:5][CH:4]([C:7]([O:9]C)=O)[CH2:3][CH2:2]1.[Cl:18][CH2:19]I.C[Li]>C1COCC1>[Cl:18][CH2:19][C:7]([CH:4]1[CH2:3][CH2:2][N:1]([C:11]([O:13][C:14]([CH3:17])([CH3:16])[CH3:15])=[O:12])[CH2:6][CH2:5]1)=[O:9]A solution of 1-tert-butyl 4-methyl piperidine-1,4-dicarboxylate (3.6 g, 14.9 mmol) in THF (100 mL) was cooled to −78° C. under nitrogen and then charged with neat chloroiodomethane (1.8 mL, 24.7 mmol). A solution of methyllithium (16.5 mL, 1.5 M in Et2O) was added dropwise. The reaction was stirred for 60 min at −78° C. and then quenched with half-saturated NH4Cl. After warming to room temperature, the mixture was extracted twice with EtOAc. The organic phases were combined, washed with brine, dried (Na2SO4), filtered, and concentrated in vacuo to yield impure tert-butyl 4-(2-chloroacetyl)piperidine-1-carboxylate as a dark oil. Key non-solvent resonances in 1H-NMR (400 MHz, d6-DMSO) δ=4.68 (s, 2H), 4.1-3.8 (m, 4H), 2.75 (m, 1H), 1.8 (m, 1H), 1.7-1.5 (m, 2H), 1.4 (s, 9H), 1.4-1.2 (m, 2H).