[NH:1]1[C:9]2[CH2:8][CH2:7][N:6]([C:10]([O:12][C:13]([CH3:16])([CH3:15])[CH3:14])=[O:11])[CH2:5][C:4]=2[CH:3]=[C:2]1[C:17]([O:19][CH2:20][CH3:21])=[O:18].[H-].[Na+].[CH3:24]I>C1COCC1>[CH3:24][N:1]1[C:9]2[CH2:8][CH2:7][N:6]([C:10]([O:12][C:13]([CH3:16])([CH3:15])[CH3:14])=[O:11])[CH2:5][C:4]=2[CH:3]=[C:2]1[C:17]([O:19][CH2:20][CH3:21])=[O:18]To a solution of 5-tert-butyl 2-ethyl 1,4,6,7-tetrahydro-5H-pyrrolo[3,2-c]pyridine-2,5-dicarboxylate (1.0 eq) in THF at 0° C. was added NaH (1.2 eq) and stirred for half an hour at room temperature. Methyl iodide (1.3 eq) was added and resulting reaction mixture was stirred for 3 hrs. Reaction mixture was then quenched with water and extracted with ethyl acetate, dried over sodium sulphate and concentrated to dryness. Crude mass was then purified by silica gel column chromatography to afford 5-tert-butyl 2-ethyl 1-methyl-1,4,6,7-tetrahydro-5H-pyrrolo[3,2-c]pyridine-2,5-dicarboxylate.