Bob was preparing to go to sleep for the night.