[CH2:1]([O:3][C:4]([CH2:6][O:7][CH2:8][CH2:9][CH2:10][CH2:11][CH:12]=[O:13])=[O:5])[CH3:2].[Cl-].[CH3:15][NH2+]C.C=O>>[CH:12]([C:11](=[CH2:15])[CH2:10][CH2:9][CH2:8][O:7][CH2:6][C:4]([O:3][CH2:1][CH3:2])=[O:5])=[O:13]16 g (85 mmol) of 5-ethoxycarbonylmethoxypentanal, 7.8 g (95.2 mmol) of dimethylammonium chloride and 7.4 ml (99.4 mmol) of a 37% solution of formaldehyde are stirred for 1 hour at a bath temperature of 110° C. The reaction mixture is allowed to cool and extracted three times with CH2Cl2. The combined organic phases are dried over Na2SO4, filtered and concentrated by evaporation giving ethyl 7-formyl-3-oxaoct-7-enoate as a colourless oil which is further reacted without purification.