added a missed winning pattern and some clean-up