added check_criterion