Added the move function