Schumer’s optimism means Trump is unlikely to get all of his top priorities in whatever agreement Congress can reach. Democrats have leverage in the negotiations because Republicans will need eight of their votes to clear a filibuster in the Senate and because conservatives in the House have been reluctant in recent years to vote for any bill that appropriates significant amounts of taxpayer money. Democrats are using that power to refuse to grant Trump any of the $1.4 billion he sought to begin development of his signature southern border wall, and Republican leaders have signaled they are content to delay a debate on the issue until Congress considers funding for 2018. Nor is the president likely to see the $18 billion in cuts to domestic programs the White House is seeking this fiscal year to help offset the boost in military spending that Trump wants even more.

And in a move likely to anger some conservatives, GOP leaders are not even pushing to include a provision blocking funds to Planned Parenthood that they repeatedly—and unsuccessfully—demanded under former President Barack Obama. They had hoped to insert the measure in their health-care bill because it did not require Democratic votes, but with that effort stalled, so is the drive to defund Planned Parenthood. “It really hasn’t been an issue,” said one Democratic congressional aide briefed on the talks. The GOP has kept quiet about the discussions, and aides to senior Republicans in the House and Senate declined to comment on the remaining sticking points.

Thus far, the Trump administration has had minimal involvement in the negotiations on Capitol Hill, and Democrats like Schumer say it’s best for all involved that it stay that way. (That includes Democratic leaders leery of being seen as striking a deal with a president despised by their liberal base.) “If the president doesn’t interfere and insist on poison-pill amendments to be shoved down the throat of the Congress, then we can come up with an agreement,” he said. Schumer was referring obliquely to a request from the White House that Congress include a provision in the bill that would withhold money from so-called “sanctuary cities” that refuse to enforce federal immigration laws.

Democrats, meanwhile, have policy demands of their own for the legislation. After Trump threatened to withhold subsidies for insurance companies under Obamacare unless Democrats agreed to help the GOP repeal the law, they want to add a provision to the spending bill requiring the administration to pay them out. House Republicans sued the Obama administration over those payments, but they are now under intense pressure from the insurance industry and the Chamber of Commerce to maintain them at least temporarily to prevent a further destabilization of the individual market that could lead to premium spikes for consumers.