added speed var