[CH2:1]([O:3][C:4]([C:6]1[NH:7][C:8]2[C:13]([CH:14]=1)=[CH:12][CH:11]=[C:10]([C:15]#[N:16])[CH:9]=2)=[O:5])[CH3:2].[H-].[Na+].I[CH3:20]>C1COCC1>[CH2:1]([O:3][C:4]([C:6]1[N:7]([CH3:20])[C:8]2[C:13]([CH:14]=1)=[CH:12][CH:11]=[C:10]([C:15]#[N:16])[CH:9]=2)=[O:5])[CH3:2]Treat a solution of 6-cyano-1H-indole-2-carboxylic acid ethyl ester (86 mg, 0.40 mmol) in THF (3 mL) with sodium hydride (60% disp. in mineral oil, 18 mg, 0.44 mmol) under N2. After stirring for 10 min, add iodomethane (68 mg, 0.48 mmol) and stir at rt for 3 h. Quench the reaction with sat. NH4Cl solution and extract several times with EtOAc. Dry the combined organic layers (Na2SO4) and concentrate to give a solid. Purify the crude product by silica gel chromatography (MeOH/DCM: 0% to 10%) to give the desired 6-cyano-1-methyl-1H-indole-2-carboxylic acid ethyl ester in 59% yield (54 mg, 0.24 mmol).