Added peep lost function