having heteroatoms other than oxygen and nitrogen in the ring