The condensation of acrolein (I) with ethyl mercaptoacetate (II) by means of triethylamine in ether gives ethyl 3-oxopropylmercaptoacetate (III), which is then cyclized with cystein (IV) in ethanol - water.