having rings with nitrogen atoms and oxygen or sulfur atoms as ring hetero atoms