refactored diagonal wins