changed winner check conditional and it all works