added Time class