add in a sleep option