moving data from ocaml-raft