Added prep-move function.