with an oxygen, sulfur or nitrogen atom directly attached in position 2 or 6, but not in both