added function set_time()
remove set_time() debug message