make getWinner work