Moved the sleep to the setup function