changed sleep value to 1