added time class