refactor winner checks