added movement control