add class method computeWinnings