changed speed formula