automatic check.factors generation