tweaks
eliminating the need to call check_cmd()