added create_arg_array
added return to create_arg_array