; (ii) by inserting (A) after (b)(1) ; and (iii) by adding at the end the following new subparagraph: (B) (i) An individual’s surplus average indexed monthly earnings shall be equal to the quotient obtained by dividing— (I) the total (after adjustment under paragraph (3)(B)) of such individual’s surplus earnings (determined under clause (ii)) for such individual’s benefit computation years (determined under paragraph (2)), by (II) the number of months in those years. (ii) For purposes of clause (i) and paragraph (3)(B), an individual’s surplus earnings for a benefit computation year are the total of such individual’s wages paid in and self-employment income credited to such benefit computation year, to the extent such total (before adjustment under paragraph (3)(B)) exceeds the contribution and benefit base for such year. . (B) Conforming amendment The heading for section 215(b) of such Act is amended by striking Average Indexed Monthly Earnings and inserting Basic Average Indexed Monthly Earnings; Surplus Average Indexed Monthly Earnings . (3) Adjustment of surplus earnings for purposes of determining surplus AIME Section 215(b)(3) of such Act ( 42 U.S.C. 415(b)(3) ) is amended— (A) in subparagraph (A), by striking subparagraph (B) and inserting subparagraph (C) and by inserting and determination of basic average indexed monthly income after paragraph (2) ; (B) by redesignating subparagraph (B) as subparagraph (C)