Write each observation only once