changed sleep time to 30 min