with the carbon atom of at least one of the carboxamide groups bound to a carbon atom of a ring other than a six-membered aromatic ring