WASHINGTON (AP) — The House will vote next week on a border security bill as Republicans try to show they can chart their own course on immigration — not just oppose President Barack Obama.

The bill passed the House Homeland Security Committee late Wednesday on a party-line vote of 18-12.

It’s drawing opposition from some conservatives who say it doesn’t do enough to stem illegal immigration.

But other Republicans are eager to advance immigration legislation of their own and hope a border bill will be just a first step.

The bill would require operational control of high-traffic areas of the border within two years, and operational control of the full border within five years.