modify sleep time in main.cc