the sleep process