going to sleep adding events