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