; (2) in clause (ii), by striking and at the end; (3) in clause (iii), by inserting and at the end; and (4) by inserting after clause (iii) the following new clause: (iv) 2 percent of the individual’s surplus average indexed monthly earnings, . (b) Basic AIME and surplus AIME (1) Basic AIME Section 215(b)(1) of such Act ( 42 U.S.C. 415(b)(1) ) is amended— (A) in the matter preceding subparagraph (A), by inserting basic before average ; and (B) in subparagraph (A), by striking paragraph (3) and inserting paragraph (3)(A) and by inserting before the comma the following: to the extent such total does not exceed the contribution and benefit base for the applicable year . (2) Surplus AIME (A) In general Section 215(b)(1) of such Act (as amended by paragraph (1)) is amended— (i) by redesignating subparagraphs (A) and (B) as clauses (i) and (ii), respectively; (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 additional wages (as defined in section 209(l)) paid in and additional self-employment income (as defined in section 209(m)) credited to such benefit computation year, to the extent such total does not exceed the amount determined for such year under clause (iii). (iii) For purposes of clause (ii), the amount determined under this clause is— (I) in the case of a benefit computation year beginning after December 31, 2018, and before January 1, 2020, $500,000