[C:1]([C:3]1[CH:8]=[CH:7][C:6]([C:9]2[N:10]=[C:11]3[CH:16]=[CH:15][CH:14]=[C:13]([C:17]([O:19][CH3:20])=[O:18])[N:12]3[C:21]=2/[CH:22]=[CH:23]/[O:24]CC)=[CH:5][CH:4]=1)#[N:2]>C1COCC1.O.[Hg](OC(C)=O)OC(C)=O>[C:1]([C:3]1[CH:8]=[CH:7][C:6]([C:9]2[N:10]=[C:11]3[CH:16]=[CH:15][CH:14]=[C:13]([C:17]([O:19][CH3:20])=[O:18])[N:12]3[C:21]=2[CH2:22][CH:23]=[O:24])=[CH:5][CH:4]=1)#[N:2]A stirred solution of (A4) in a mixture of THF/H2O 9:1 (0.2 M) was treated with Hg(OAc)2 (1.5 eq.). After the reaction mixture was stirred at 50° C. for 3 h, freshly prepared sat. aq. KI was added and stirring was continued at RT for 10 min. Then, the reaction mixture was extracted with EtOAc, washed with sat. aq. Na2S2O4 and dried (Na2SO4). Evaporation of the solvent gave methyl 2-(4-cyanophenyl)-3-(2-oxoethyl)imidazo[1,2-a]pyridine-5-carboxylate which was used in the next step without further purification. MS (ES+) C18H13N3O3 requires: 319, found: 320 (M+H)+.