checking validation

checking to see if the validation is correct.