add comment on cmd_type