[H-].[Na+].[CH2:3]([O:5][C:6]([C:8]1[C:16]2[C:11](=[CH:12][CH:13]=[C:14]([Br:17])[CH:15]=2)[NH:10][CH:9]=1)=[O:7])[CH3:4].[CH3:18]I.O>CN(C)C=O>[CH2:3]([O:5][C:6]([C:8]1[C:16]2[C:11](=[CH:12][CH:13]=[C:14]([Br:17])[CH:15]=2)[N:10]([CH3:18])[CH:9]=1)=[O:7])[CH3:4]Sodium hydride (537 mg) was added to a solution of 5-bromo-1H-indole-3-carboxylic acid ethyl ester (3.00 g) in N,N-dimethylformamide (22 ml) at room temperature, and stirred at the same temperature for 0.5 hour. Methyl iodide (2.1 ml) was added and the mixture was stirred at the same temperature for two hours. After completion of the reaction, water was added and the precipitated solid was collected by filtration. The resulting residue was purified with silica gel column chromatography (n-hexane/ethyl acetate) to give 5-bromo-1-methyl-1H-indole-3-carboxylic acid ethyl ester (3.10 g) as a white solid.