Added sleep to code