[CH3:1][C:2]1[C:6]2[CH:7]=[CH:8][CH:9]=[CH:10][C:5]=2[O:4][C:3]=1[C:11]([OH:13])=[O:12].[C:14](Cl)(=O)C(Cl)=O.CO>CN(C=O)C.C1COCC1>[CH3:1][C:2]1[C:6]2[CH:7]=[CH:8][CH:9]=[CH:10][C:5]=2[O:4][C:3]=1[C:11]([O:13][CH3:14])=[O:12]To a solution of 3-methyl-benzofuran-2-carboxylic acid (0.98 g, 5.6 mmol) and catalytic amount of DMF (5 drops) in THF (25 ml) was added oxalyl chloride (0.53 ml, 6.1 mmol). After stirring the solution for 1 h at room temperature, methanol (20 ml) and TEA (7.0 ml) were added. The reaction mixture was stirred overnight at room temperature, then concentrated and dissolved in ethyl acetate (100 ml) and washed with aqueous sodium bicarbonate solution (100 ml). The organic layer was dried over sodium sulfate and concentrated to provide crude methyl 3-methylbenzofuran-2-carboxylate (1.0 g, 5.3 mmol) as a tan solid, which was used without further purification.