Added debug statements from SleepDelegate