simplify validation