modified RecValidation.C