The House of Representatives Thursday okayed a $35 billion plan that they hope will get people back to work.

The vote was 217 to 201.

The House approved an earlier version of a jobs package in December. The Senate then okayed a scaled-down version last week. Many Democrats feared that the legislation wouldn’t create jobs. And some liberal Democrats, especially those from the Congressional Black Caucus, thought the bill wasn’t robust enough. Instead, they pushed for a $50 billion proposal, chock full of job training and summer jobs for teens.

House Minority Leader John Boehner (R-OH) decried the legislation as a “so-called jobs bill.”

But House Speaker Nancy Pelosi (D-CA) said the legislation will boost the country’s infrastructure and provide tax breaks to small businesses. The legislation also extends mass transit and highway construction projects.