Amides formation and reactions