add basic equality validations