This is the primary route to polyamide-imides which are used as wire enamels. A diisocyanate, often 4,4’-methylenediphenyldiisocyanate (MDI), is reacted with trimellitic anhydride (TMA). The product achieved at the end of this process is a high molecular weight, fully imidized polymer solution with no condensation byproducts, since the carbon dioxide gas byproduct is easily removed.