[Br:1][C:2]1[CH:3]=[C:4]([CH:8]=[C:9]([Br:11])[CH:10]=1)[C:5](O)=[O:6].Cl.[CH3:13][NH:14][O:15][CH3:16].C(N=[N+]=[N-])C.O>O=S(Cl)Cl.C(Cl)Cl>[Br:1][C:2]1[CH:3]=[C:4]([CH:8]=[C:9]([Br:11])[CH:10]=1)[C:5]([N:14]([O:15][CH3:16])[CH3:13])=[O:6]The solution of 3,5-dibromobenzoic acid (26 g, 93 mmol) in SOCl2 (100 mL) was heated at reflux for 2 h, concentrated, diluted with dry DCM (300 mL) and added slowly to a stirred solution of N,O-dimethylhydroxylamine hydrochloride (9.75 g, 100 mmol) and EtN3 (28 g, 277 mmol) in dry DCM (300 mL) at 0° C. The solution was stirred for 1 h at rt, poured into water and the organic layer was separated. The organic layer was washed with water and brine, dried over Na2SO4, filtered and concentrated to give crude compound P37a (28 g, 93%) as an oil.