Winning algorithm seems to work