validations on book