change sleep time and print the value