Add the move function with its associated Exception handler