with oxygen or sulfur atoms directly attached to ring carbon atoms