After three years of wrangling, the House on Wednesday passed a $6.3 billion bill that would dramatically overhaul the way drugs are approved in the United States.

The 21st Century Cures Act is a bipartisan effort that’s been in the works since April 2014. The idea behind the bill is that the Food and Drug Administration’s current approval process is clunky and out of date, delaying potentially lifesaving drugs and devices from reaching the patients who need them. The bill aims to modernize the process, accelerate drug and device innovation by boosting funding for research, and get cures onto the market faster.