by reaction of ammonia with carboxylic acids with replacement of carboxyl groups by cyano groups