These two reactions allow Meldrum's acid to serve as a starting scaffold for the synthesis of many different structures with various functional groups. The alkylated products can be further manipulated to produce various amide and ester compounds. Heating the acyl product in the presence of an alcohol leads to ester exchange and decarboxylation in a process similar to the malonic ester synthesis. The reactive nature of the cyclic-diester allows good reactivity even for alcohols as hindered as "t"-butanol. Ketoesters of this type are useful in the Knorr pyrrole synthesis.