add vx,vy to Machine class