change to just stopListening in the stopObservation function