add more comments
add pointer option to add_cmd_arg
rearrange to make more logical