C[O-].[Na+].Cl[CH:5](Cl)[C:6]([O:8][CH3:9])=[O:7].[CH:11](=O)[CH3:12].[NH2:14][C:15]([NH2:17])=[S:16]>C(OCC)C.O>[NH2:17][C:15]1[S:16][C:11]([CH3:12])=[C:5]([C:6]([O:8][CH3:9])=[O:7])[N:14]=1Sodium methoxide (25% wt solution, 50 mL) was added slowly to a 0° C. solution of methyl 2,2-dichloroacetate (25 mL, 261 mmol) and acetaldehyde (15 mL, 267 mmol) in 200 mL diethyl ether. The mixture was stirred at 0° C. for 1 hour. Water (100 mL) was added, and the organic layer was recovered. The aqueous phase was extracted with diethyl ether (2×100 mL). The organic extracts were combined, washed with brine (2×200 mL), dried over MgSO4, filtered, evaporated, and dried in vacuo. The crude oil (29 g) was dissolved in MeOH (250 mL), and thiourea (15.5 g, 190 mmol) was added. The solution was stirred at reflux for 4 hours. After cooling to room temperature, the solvent was evaporated. The oily residue was dissolved in MeOH (50 mL). The solution was poured into ice/water (500 mL). The pH was brought to approximately 8-9 with concentrated ammonium hydroxide. The yellow solid material was recovered by filtration, washed with water (3×50 mL) and hexanes (3×50 mL), and dried in vacuo, affording methyl 2-amino-5-methyl-1,3-thiazole-4-carboxylate (11.7 g, 26%) as a yellow solid. The product was used without further purification.