Heterocyclic system with bridgehead nitrogen atoms