Added feature to check if there is a winner