added second version of verify
Merge pull request #2 from danstaples/master

added second version of verify