add win calculation