Reactions of nitrilimines with heterocyclic amines and enamines. Convenient methodology for synthesis and annulation of heterocycles