For example, in the case of corrosion inhibitors such as propargyl alcohol and morpholine, one can use the above described esterification and amidation reactions, respectively, to introduce these functional corrosion inhibitors onto oxmal compounds producing enhanced corrosion inhibitors.