; and (ii) to provide for the payment of interest accruing after the date of the order for relief under this chapter at a fixed annual rate equal to the currently applicable average prime offer rate as of the date of the order for relief under this chapter, corresponding to the repayment term determined under the preceding paragraph, as published by the Federal Financial Institutions Examination Council in its table entitled Average Prime Offer Rates—Fixed , plus a reasonable premium for risk; and (D) by providing for payments of such modified loan directly to the holder of the claim or, at the discretion of the court, through the trustee during the term of the plan; and , and (2) by adding at the end the following: (g) A claim may be reduced under subsection (b)(11)(A) only on the condition that if the debtor sells the principal residence securing such claim, before completing all payments under the plan (or, if applicable, before receiving a discharge under section 1328(b)) and receives net proceeds from the sale of such residence, then the debtor agrees to pay to such holder not later than 15 days after receiving such proceeds— (1) if such residence is sold in the 1st year occurring after the effective date of the plan, 90 percent of the amount of the difference between the sales price and the amount of such claim as originally determined under subsection (b)(11) (plus costs of sale and improvements), but not to exceed the unpaid amount of the allowed secured claim determined as if such claim had not been reduced under such subsection; (2) if such residence is sold in the 2d year occurring after the effective date of the plan, 70 percent of the amount of the difference between the sales price and the amount of such claim as originally determined under subsection (b)(11) (plus costs of sale and improvements), but not to exceed the unpaid amount of the allowed secured claim determined as if such claim had not been reduced under such subsection