the check command