Started the validation code