; and (ii) is cooperating with the United States Government to remediate the deficiencies that led to its designation under subsection (a). (B) Form The certification required under subparagraph (A) shall be submitted in an unclassified form, but may include a classified annex. (C) Absence of certification If the President is unable to make the certification required under subparagraph (A), the President, not later than 90 days after the date on which the certification is due, shall carry out one or more of the actions described in subparagraphs (A) through (G) of subsection (c)(2). (5) Statutory construction Nothing in this subsection may be construed to authorize the United States to enter into an agreement covering matters outside the scope of activities that finance the operations of, or acts of international terrorism by, foreign terrorist organizations. (e) Exceptions Any action taken under this section may not prohibit or restrict the provision of medicine, medical equipment or supplies, food, or other humanitarian assistance to a foreign country. (f) Termination of designation A designation made under subsection (a) with respect to a country shall terminate on the earlier of— (1) the date on which the President certifies to the appropriate congressional committees that the government of such country has taken substantial and verifiable steps to prevent substantial activities that finance the operations of, or acts of international terrorism by, foreign terrorist organizations within its jurisdiction; (2) the date on which the President certifies to the appropriate congressional committees that the foreign government has fulfilled its obligations under an agreement under subsection (d), unless such action is expressly reauthorized by law; or (3) the date on which the President— (A) certifies to the appropriate congressional committees that termination of the designation is in the national security interests of the United States