removed vestigal do_arg_gen
refinements to data conversion