In the finance world today, everyone is abuzz with the news of a giant buyout—JAB Holding company, which manages the money of one of Germany’s wealthiest families, agreed to buy struggling coffee maker Keurig Green Mountain for $13.9 billion, valuing the company at $92 a share, compared with the $51.70 a share that the company was trading at last Friday afternoon.

When first we heard of Keurig Green Mountain’s Keurig 2.0 coffee maker , news was that the appliance would brew only pods approved by Keurig specifically—no third-party pods allowed.

When the Keruig 2.0 came out, that was exactly the case. The scheme was akin to what we’ve seen from some content distributors in Digital Rights Management (DRM), which makes it harder to, say, move a Kindle book to a non-Kindle tablet. In Keurig’s case, approved pods had special ink markers printed on their lids, and the Keruig 2.0 had a scanner looking for said special marker. If the marker wasn’t there, the Keurig displayed an “Oops!” message and would not continue to brew the coffee.

Luckily, lots of inventive people found ways around this scheme intended to lock customers into Keurig’s ecosystem and keep all subsequent pod profits in Keurig’s grip. Generally, a small piece of tape on the Keurig 2.0’s scanner sufficed, but the Rogers Family Company Coffee & Tea Market even went so far as to create a “Freedom Clip” that would override the Keurig 2.0’s DRM scheme.

But customers were more generally unhappy with the Keurig 2.0, and by May 2015, the company said that sales of the brewers and accessories were down 23 percent, and while pod sales were up 14 percent, the number was behind what the company had anticipated. To try to win back favor with its customers, Keurig said it would bring the My K-Cup back, a reusable filter that let customers brew their preferred coffee in the appliance.

Still, the company struggled through the rest of the year.

"Keurigs’s coffee pods and single-serve machines redefined the U.S. market, but by last year, sales were stagnating and private-label makers of coffee pods were a competitive threat,” the Wall Street Journal reported. "Keurig’s revenue in the fiscal year that ended Sept. 26 fell 4% to $4.52 billion, while profit slid 16% to $498 million.

The WSJ continued, "Chief Executive Brian Kelley, a former Coke executive, bet on a new brewing system called Keurig 2.0 launched last year that brew different-sized pots and specialty drinks. Sales of the new machines have disappointed, Keurig has said.

The paper also pointed to Keurig’s new carbonated beverage maker, called the Kold, which also seemed to gain little interest among consumers. One of the biggest winners in the JAB deal was Coca-Cola, which previously bought 17.4 percent of Keurig’s shares at $91 a share, hoping to help Keurig push the Kold. On Friday, Coke was underwater about $1 billion on the deal, by Monday, it was up $25 million.

JAB has been on a coffee company spending spree in the last few years, purchasing Caribou Coffee Company and Peet’s Coffee & Tea, as well as Stumptown Coffee Roasters and Intelligentsia Coffee Inc. Although JAB has not made its plans for Keurig overt, Keurig will still operate independently. Speaking to the Wall Street Journal, Euromonitor beverage analyst Virginia Lee said one other advantage for Keurig in this deal is that, as a private company, Keurig can now "make adjustments to its marketing and product development strategy away from the scrutiny of the investment community.”