In the lab I mixed 4-(diethylamino)salicylaldehyde with Ethylacetoacetate and Piperidine. I'm aware that the Knoevenagel Condensation and transesterification occurs but I am having trouble figuring out the mechanism of the reaction. Could someone maybe start me on the right track of what this mechanism would look like?