updated move() function

Will run more tests to ensure it functions correctly