U.S. and Canadian weed consumers plopped down $53.3 billion for legal and illegal marijuana in 2016, according to a new report from Arcview Market Research. However, the vast majority of those transactions took place on the black market.

Still, this is more money than Americans spent at McDonald’s and Starbucks combined, according to QSR Magazine.

Arcview’s 22-page executive summary for the “State of Legal Marijuana Markets” estimated that the black market still accounts for 87 percent of marijuana sales, down 90 percent in 2015.

The North American legal weed market posted $6.9 billion in revenue in 2016 alone, a 30 percent increase from the year before—meaning that it’s growing as fast as broadband internet grew in the 2000s, according to the Pew Research Center.

But, still, it sounds like quite a bit of revenue is going into the illegal market.

Even though California was the first state to legalize medical marijuana and is the largest legal marijuana market in the country, it has not yet adapted a system for the government to track product. These kinds of protocols, similar to those that exist for pharmaceuticals, have become standard in other legal states.

In Colorado, Radio-Frequency Identification (RFID) chips track plants from grow rooms to the dispensary, even if a plant is ultimately processed into an edible or vaping oil. By having a record of every legal plant in the state, regulators can ensure, among other things, that legally grown product is sold according to code.

Next month, California will begin accepting proposals from the companies that want to sell California a platform for tracking pot throughout the state. It’s a way to ensure that “businesses will be run like
a regular business as opposed to operating like drug dealers," says David Dinenberg, CEO of L.A.-based Kind Financial, one of the companies planning to bid on the state contract.