[Br:1][C:2]1[CH:3]=[C:4]2[C:9](=[CH:10][C:11]=1[O:12]C)[N:8]=[C:7]([NH:14][C:15]1[CH:26]=[CH:25][C:18]([C:19]([NH:21][CH:22]([CH3:24])[CH3:23])=[O:20])=[CH:17][CH:16]=1)[N:6]=[CH:5]2.C[S-].[Na+]>CN(C=O)C>[Br:1][C:2]1[CH:3]=[C:4]2[C:9](=[CH:10][C:11]=1[OH:12])[N:8]=[C:7]([NH:14][C:15]1[CH:16]=[CH:17][C:18]([C:19]([NH:21][CH:22]([CH3:23])[CH3:24])=[O:20])=[CH:25][CH:26]=1)[N:6]=[CH:5]2A 0.15M suspension of 4-(6-bromo-7-methoxyquinazolin-2-ylamino)-N-isopropylbenzamide (1.0 eq) and sodium thiomethoxide (4.0 eq) in DMF was heated to 80° C. in an oil bath for 12 h. The mixture was partitioned between ethyl acetate and water. The pH of aqueous phase was adjusted to 5 by adding saturated ammonium hydrochloride. Aqueous phase was extracted with ethyl acetate, and combined organic phase was washed with brine, dried over sodium sulfate, and concentrated to give desired product in 90% yield. ES/MS m/z 401/403 (MH+).