by reacting carboxylic or sulfonic groups, or derivatives thereof, with amines by reacting keto-groups with amines