potential fix to move function