add catch to getspeed and change names