sleep for both