; and (iv) the eligible institution provides to the Secretary the institution’s expenditures on instruction, student services, marketing, recruitment, advertising, and lobbying made available under section 132(i)(1)(AA) with respect to the portion of the educational program covered by the written arrangement. (d) Administration of title IV programs (1) In general If an institution enters into a written arrangement as described in subsection (a), subsection (b), or subsection (c), except as provided in paragraph (2), the institution at which the student is enrolled as a regular student shall determine the student's eligibility for funds under this title, and shall calculate and disburse those funds to that student. (2) Special rule for arrangements between eligible institutions In the case of a written arrangement between eligible institutions, the institutions may agree in writing to have any eligible institution in the written arrangement calculate and disburse funds under this title to the student and the Secretary shall not consider that institution to be a third party servicer for that arrangement. (3) Calculation and disbursement The institution that calculates and disburses a student's funds under paragraph (1) or paragraph (2) must— (A) take into account all the hours in which the student enrolls at each institution that apply to the student's degree or certificate when determining the student's enrollment status and cost of attendance