ocaml complained about the order of the fields in the record