simplify check