fixed dtime error, changed to *speed from *Tunedspeed