moving time_machinre into Time class