ref x y speed added