Updated methodes getTime and Tick