. . . "The process of forming a solid cured imide containing polythioether which comprises admixing(A) a polyene of the formula: ##STR33## wherein ??? denotes isomerism, R is a divalent organic moiety remaining after a primary diamine has reacted to form amide linkages; R' is an aromatic residue attached to at least 3 carbonyl groups at least two of which groups are attached to adjacent carbon atoms on t" .