Winning algorithm added