validations from ch 7