set the movement