still timing issues before going to sleep