doing time representation