made sleeping more fine-grained