completed the validations