changes to move method