[Br:1][C:2]1[S:6][C:5]([CH:7]=O)=[CH:4][CH:3]=1.C(O)(=O)[CH2:10][C:11]([OH:13])=[O:12].N1CCCCC1.Cl>N1C=CC=CC=1.C(OCC)(=O)C>[Br:1][C:2]1[S:6][C:5]([CH:7]=[CH:10][C:11]([OH:13])=[O:12])=[CH:4][CH:3]=13 g (15.7 mmol) of 5-bromo-thiophene-2-carbaldehyde were dissolved in 30 ml of pyridine and 1.96 g (18.8 mmol) of malonic acid and 133 mg (1.6 mmol) of piperidine was added. The reaction mixture was boiled under reflux for 6 h. After cooling to room temperature, it was poured into a mixture of ice and concentrated aqueous hydrochloric acid whereupon the product precipitated. The product was isolated by filtration, dissolved in ethyl acetate, and the solution was washed with 0.1 M hydrochloric acid. The organic phase was dried with sodium sulfate, filtered and the solvent was removed under reduced pressure. Yield: 3.0 g.