Updated getObservations example