simpler validation checking