Hooray! Pressure on brands to make their packaging more environmentally friendly is mounting – and it’s actually working.

While the majority of McDonald’s packaging you’re met with in UK stores is made of cardboard, for certain menu items and in certain locations, you’ll still find old-school foam.

An extra-large drink, for example, tends to come in a foam cup.

There’s an issue with that – foam is pretty much impossible to recycle.

The majority of McDonald’s packaging isn’t foam, and hasn’t been for a long time (back in the early days, you’d be handed a burger in a foam package rather than a little cardboard box), but there have been some lingering bits that aren’t environmentally friendly.

The company’s sustainability goals include a pledge to get rid of all foam packaging, including those giant foam cups, by 2019. McDonald’s also plans to switch to fiber-based packaging made from recycled materials in every location by 2020.

This’ll mean that all of their products will be in the recyclable fiber-based packaging that currently makes up more than half of McDonald’s cups, wrappings, containers, and trays. Which is a pretty big deal.

Here’s hoping the move will inspire other major brands to follow suit.