While the relationship between the U.S. and Pakistan appears to be getting better, there’s still a long way to go. A new report released Monday by the Pentagon blames Pakistan for undermining security in Afghanistan. The country is at fault for permitting safe havens for insurgents, and for failing to interdict explosive materials, the report claims. But as the U.S. prepares to pull troops out of Afghanistan by the end of 2014, officials say the U.S. and its allies have succeeded in controlling Taliban advances and keeping casualties to a minimum. The report also praised the recent progress made with Pakistan, after the country agreed to reopen Western forces’ supply routes into Afghanistan.