NEW YORK (AP) — Encouraging customers to mend worn clothes instead of buying new ones might seem like a self-defeating sales strategy. But in-store repairs and sewing workshops are becoming essential retail services for clothing brands as they try to appeal to young consumers who want to save money and the planet. While luxury fashion houses and select specialty retailers like Patagonia and L.L. Bean have offered product repairs for decades, the concept has caught on. Jeans giant Levi Strauss & Co., casual wear chain Uniqlo and budget retailer Primark are a few of the apparel companies hoping to win over Generation Z shoppers with a needle and thread. Levi’s created a handstitching course for high school students after determining that many members of Gen Z lacked the sewing skills to match their interest in thrift store shopping and sustainability. Employees spend 90 minutes instructing teenagers on four tasks: sewing on a button, hemming, patching a hole and fixing a tear.

The Wear Longer program, which the San Francisco-based company is expanding across the U.S., builds on the repair and customization services Levi’s offers at hundreds of stores worldwide. “We think it’s important to empower the people who buy our clothes with the skill sets to maintain them, to get them to that second life,” Paul Dillinger, Levi’s head of global design innovation, said.