improve time display. (only for debug)
Refactor.