forgot to add ranks[0,0] to account for draws