revise time converter