move checkForWinner method in data class