[NH:1]1[C:9]2[C:4](=[CH:5][CH:6]=[CH:7][CH:8]=2)[CH:3]=[C:2]1[C:10]([O:12]CC)=O.[NH:15]1C2C(=CC=CC=2)C=C1C(OC)=O.CO.C(Cl)Cl>N(C)C.O>[NH:1]1[C:9]2[C:4](=[CH:5][CH:6]=[CH:7][CH:8]=2)[CH:3]=[C:2]1[C:10]([NH2:15])=[O:12]Stir ethyl indole-2-carboxylate 1 (X═H, 4.67 mmol) or methyl indole-2-carboxylate 2 (X═H, 4.67 mmol) in Me2NH/H2O (50 mL, 40%). Stir the reaction mixture at rt for 16 h monitoring by tlc (10% MeOH/CH2Cl2). Concentrate the mixture to minimum volume, dilute with H2O and collect the solid by filtration. Wash the filter cake with H2O and dry under vacuum at 60° C. to provide dimethyl amide 4 (X═H, R2═R3=Me), tlc Rf=0.65 (silica gel, 10% MeOH/CH2Cl2).