changed measuring of time