move function in mli