chapter02 validations