entity validations