by substitution of a group bound to the ring by nitrogen