Soon after Hagemann, Emil Knoevenagel described a modified procedure to produce the same intermediate diethyl ester of 2,4-diacetyl pentane using 
formaldehyde and two equivalents of ethyl acetoacetate which undergo condensation in the presence of a catalytic amount of piperidine.