; and (ii) is below the average interest rate at the given time for a home improvement loan; and (B) have a term to maturity of 10 years or 20 years, as determined by the Secretary based on the credit of the borrower. (2) Violations If the owner of a property receiving a loan under this section does not use the loan amounts as required under subsection (b)(1), does not maintain the affordability of the property as required under subsection (i), or does not comply with any other requirements established by the Secretary, the Secretary shall— (A) work with the owner for not less than 30 days to ameliorate any violations; and (B) if after 90 days such violations are not ameliorated— (i) increase the interest rate of the loan by not less than 15 percentage points above the Federal funds rate; and (ii) reduce the term to maturity of the loan to not more than 5 years. (k) Conditions of receipt of grant or loan The Secretary shall establish conditions on the receipt of a loan or grant under this section, as follows: (1) Record