Just 15 months after filing for bankruptcy, Detroit moved one step closer to financial solvency Friday when a judge approved the city’s exit plan to drop $7 billion in debt. “Detroit has a bright future now,” said Michigan Governor Rick Snyder. It's still too early, however, to call this a comeback. In order for this exit plan to work, Detroit is still going to have to solve one of its biggest problems: attracting new residents rather than driving them away.

The exit plan falls on the “skinny end of feasibility,” court-appointed expert Martha Kopacz testified in October. The city will need to develop a steady revenue stream to meet its obligations. Fewer than 700,000 people live in Detroit after decades of white flight into the surrounding suburbs. They are mostly poor, with 38 percent living below the poverty level. Last year, half of Detroit’s property owners were unable to pay their taxes, which are the highest in the state for cities with a population over 50,000. The combination of high taxes and poor residents puts the city and its residents in a lose-lose cycle. “Part of the goal of the exit is making Detroit attractive to people who are not poor, who can pay taxes,” says Wayne State University bankruptcy law professor Laura Bartell.

But making the city a desirable place to live is going to take a lot of money—maybe even more than the approximately $1.7 billion set aside in the plan. It’s no secret that Detroit is a difficult place to live. The bankruptcy trial put the inner workings of the city in the harsh spotlight, methodically detailing all of the ways the Detroit no longer works for its residents. A 2013 report by Emergency Manager Kevyn Orr found that 15 percent of all “parcels” of land in the city were vacant, and 38,000 vacant structures were in potentially dangerous condition. Response times for highest priority crimes took an average of 58 minutes. Around 40 percent of streetlights were out. All of these problems will have to improve for Michiganders to start looking at Detroit as a reasonable place to open a business or raise a family, Bartell said.

Still, the city is trying to spruce up. Developers like Quicken Loans founder Dan Gilbert have swooped to the downtown and midtown areas, buying up armloads of cheap properties. Other big corporations like Blue Cross Blue Shield of Michigan and Fifth Third Bank Eastern Michigan have moved from the suburbs to downtown Detroit as well, bringing with them employees who open their wallets to nearby businesses. But for now, it’s a renaissance that’s mostly localized to the city’s core, leaving most of Detroit’s 139 square miles still impoverished and blighted.

Compared to other cities that have recently gone bankrupt, Detroit is lucky. Vallejo, California, which exited bankruptcy in 2011, is teetering on the brink of financial collapse again. The city made projections about its expected costs and revenues, especially its pensions obligations, that ended up being wrong, says California layer Michael Sweet. Even after exiting bankruptcy, the slice of the city’s budget dedicated to pension payments continued increasing. Detroit, unlike Vallejo, made cuts to its pension obligations—a decision that will inevitably hurt city pensioners, but will likely protect Detroit from falling into Vallejo’s pension death trap. “Pensions won’t be the thing to push Detroit back,” Bartell said.