; and (2) by striking subsection (b) and inserting the following: (b) Allowable purpose The purpose of the agreement shall be to provide— (1) replacement vessels, additional vessels, or reconstructed vessels, built in the United States and documented under the laws of the United States, for operation in the foreign or domestic trade of the United States; or (2) replacement cargo handling equipment, additional cargo handling equipment, or reconstructed cargo handling equipment for operation at marine terminals in the United States. . 3. Deposits and withdrawals Section 53504(b) of title 46, United States Code, is amended by inserting or United States marine terminal after agreement vessel . 4. Ceiling on deposits Section 53505(a) of title 46, United States Code, is amended— (1) in subparagraph (1) by inserting , or the operation of a marine terminal in the United States after in the fisheries of the United States ; (2) in subparagraph (2) by inserting or cargo handling equipment after agreement vessels ; and (3) in subparagraph (3) by inserting or cargo handling equipment after both instances of agreement vessel . 5. Qualified withdrawals Section 53509 of the title 46, United States Code, is amended— (1) by striking subsection (a) and inserting the following: (a) In general Subject to subsections (b) and (c), a withdrawal from a capital construction fund is a qualified withdrawal if it is made under the terms of the agreement and is for— (1) the acquisition, construction, or reconstruction of— (A) a qualified vessel or a barge or container that is part of the complement of a qualified vessel; or (B) cargo handling equipment; or (2) the payment of the principal on indebtedness incurred in the acquisition, construction, or reconstruction of— (A) a qualified vessel or a barge or container that is part of the complement of a qualified vessel; or (B) cargo handling equipment. ; (2) by redesignating subsection (c) as subsection (e)