changed moving back and forward to moving directly, without planning