changed output from vl and vr to vx and vy