In Istanbul, Turkey, where an estimated 150,000 stray dogs and cats reportedly wander the streets, a Turkish company called Pugedon believes it has come up with a way to feed the animals: “Smart Recycling Boxes,” a machine that dispenses food and water in exchange for recycled plastic bottles, Big Think reports.

The benefits of the vending machine are supposed to be two fold: encourage recycling and feed the city’s strays. Recycling is put on top and food is dispensed out the bottom within easy reach for animals in need. There’s even a water dish attached so users can pour the remaining water from a plastic bottle before recycling it. The recycled bottles are supposed to cover the cost of the food.

The problem of managing stray dogs in international cities most recently came to light during the 2014 Winter Olympics, when stray dogs roamed the street’s of the Games’ host city, Sochi, Russia. When it was reported that some of the Sochi strays were going to be culled, animal rights activists sprung into action to rescue the homeless pups, and even some of the athletes brought them back to the United States.

MORE: 10 Stray Sochi Pups Arrive in U.S.

MORE: Mystery Photo Found In Stray Dog’s Collar Baffles County

Contact us at letters@time.com.