Changes to the Move function