[C:1]([NH2:4])(=[S:3])[CH3:2].[CH3:5][O:6][C:7](=[O:12])[C:8](=O)[CH2:9]Cl>CC#N>[CH3:5][O:6][C:7]([C:8]1[N:4]=[C:1]([CH3:2])[S:3][CH:9]=1)=[O:12]A solution of thioacetamide (132 mmol, 1.0 eq) in MeCN (250 mL) is added to a mixture of the respective 3-chloro-2-oxo-propionic acid methyl ester derivative (132 mmol, 1.0 eq) and molecular sieves (4 Å, 12 g) in MeCN (60 mL). After stirring for 5 h the mixture is cooled in an ice-bath and the obtained precipitate is filtered off. The residue is washed with cold MeCN, dried, dissolved in MeOH (280 mL) and stirred at 50° C. for 6 h. The solvents are removed in vacuo to give the corresponding 2-methyl-thiazole-4-carboxylic acid methyl ester derivatives.