properly assign winner.rank