handle ties
Merge pull request #1 from toddwschneider/allow_ties

handle ties