commented out trace in printTable and moved timeinterator in do_work