doesn't account for ties that need to be settled by suit. works otherwis...

...e, I think.