[CH3:1][O:2][C:3]1[C:8]2[O:9][C:10]([CH3:12])=[CH:11][C:7]=2[C:6]([C:13]([OH:15])=[O:14])=[CH:5][CH:4]=1.[C:16](=O)([O-])[O-].[K+].[K+].S(OC)(OC)(=O)=O.O>CC(C)=O>[CH3:16][O:14][C:13]([C:6]1[C:7]2[CH:11]=[C:10]([CH3:12])[O:9][C:8]=2[C:3]([O:2][CH3:1])=[CH:4][CH:5]=1)=[O:15]To a well stirred suspension of 7-methoxy-2-methylbenzo[b]furan-4-carboxylic acid (from step 4) (4.5 g, 24.21 mmol) and powdered potassium carbonate (7.5 g, 54.61 mmol) in acetone (740.0 mL) was added dimethyl sulfate (4.1 g, 32.76 mmol) and refluxed for 2-3 hours. Reaction mixture was cooled to room temperature and water (500 mL) was added to it. The organic material separated was extracted with ethyl acetate (3×100 ml). The combined organic layers were washed with water ((2×100 mL) and dried over anhydrous sodium sulfate. Removal of solvent under vacuo gave product (4.0 g) as brown viscous oil.