changed loop sleep time