Reaction of an amino glycol of the general formula (I) shown below: ##STR6## wherein Q is a trivalent hydrocarbyl or substituted hydrocarbyl radical containing from 3 to about 12 carbon atoms and in which the valence bonds are attached to different carbon atoms, with an anhydride of the general formula (II) shown below: ##STR7## wherein Z is as previously defined, yields an imide modified glycol i