move function modify