The idea of drinking water recycled from urine may rightfully make some squeamish — no matter how insistent experts are that it’s perfectly safe to consume.

But for astronauts preparing for lengthy trips to the lunar surface or even the far reaches of outer space, such an option could prove vital for ensuring that their basic needs are met without requiring resupply missions from the ground. That’s why NASA has eagerly announced that its engineers aboard the International Space Station have found a way to reclaim 98% of the initial water that crews take into space with them at the start of longer missions.

And a big part of that process? Yep….Pee recycling.

In a statement, Christopher Brown, who is part of the team at Johnson Space Center that manages the space station’s life support system, called the breakthrough “a very important step forward in the evolution of life-support systems.”

Space exploration:NASA’s Juno mission spots eerie green light on Jupiter: Here’s what scientists think it is

How it works

Each crewmember aboard the International Space Station needs around a gallon of water each day for drinking, food preparation, and hygiene uses such as brushing teeth.

The space station houses an Environmental Control and Life Support System (ECLSS,) which includes a water-recovery system to collect wastewater which is then sent to the water processor assembly to produce drinkable water.