first the aldehyde reacts with ammonia to form an imine