sleeping for 10 seconds before