minor changes to move method