changed speed to time