The Taliban is on board with blocking al Qaeda and the Islamic State from entering Afghanistan to plot terrorist attacks, according to a new report.

Such an agreement has been a requirement that the U.S. has pushed for since last July, and it comes as the U.S. and the Taliban are participating in discussions in Doha, Qatar, about how to resolve the conflict in Afghanistan.

But still on the negotiating table is one of the Taliban’s main priorities: removing U.S. troops from Afghanistan. A source familiar with the deal told the Wall Street Journal conversations are continuing concerning the status of the approximately 14,000 U.S. troops in the region, as are discussions for future plans of U.S. bases in Afghanistan that the Taliban wants closed.

The troops in Afghanistan are largely responsible for advising and training Afghan security forces as part of the Resolute Support Mission, which was first launched in 2015 after the NATO combat mission formally ended in 2014.

Although it was reported last month that President Trump had instructed the Pentagon to begin pulling approximately half the troops from the region, spokesperson for the National Security Council Garrett Marquis said days later that Trump “has not made a determination to drawdown U.S. military presence in Afghanistan and he has not directed the Department of Defense to begin the process of withdrawing U.S. personnel from Afghanistan.”

Despite previous discussions between special U.S. envoy Zalmay Khalilzad and Taliban representatives since July, the Pentagon determined last month in a report to Congress that negotiations were at an “impasse.”

[Also read: Pentagon IDs second US combat death of 2019 in Afghanistan]

“The Afghan National Defense and Security Forces (ANDSF) remain in control of most of Afghanistan’s population centers and all of the provincial capitals, while the Taliban control large portions of Afghanistan’s rural areas, and continue to attack poorly defended government checkpoints and rural district centers,” the report said.

Furthermore, the Taliban recently warned it would cut off contact with Khalilzad because he has pushed for them to engage in discussions with the Afghan government in Kabul to resolve the conflict.

However, a Taliban spokesperson said Monday they would continue to negotiate with Khalilzad in Doha given “American acceptance of the agenda of ending invasion of Afghanistan and preventing Afghanistan from being used against other countries in the future.” Discussions have continued in Doha since Monday.

Meanwhile, a Taliban suicide bomber attacked Afghan forces on Tuesday and killed at least 45 people, the Associated Press reports. As many as 70 people suffered injuries.