add attempt to handle ties