trying to add a sleep time