with a function having at least two elements among nitrogen, sulfur or oxygen