added equal validation
Merge pull request #3 from Matt-Esch/master

added equal validation