An addition shall be made to Federal adjusted gross income for the amount of the increase in the basis of such stock or indebtedness in accordance with:
(b) An addition shall be made to Federal adjusted gross income for the amount of the increase in the basis of such stock or indebtedness in accordance with:
(1)section 1376(a) of the Internal Revenue Code, (relating to amounts of undistributed taxable income that were required to be included previously in the shareholder's Federal gross income) as such section was in effect for taxable years begin#
(1) section 1376(a) of the Internal Revenue Code, (relating to amounts of undistributed taxable income that were required to be included previously in the shareholder's Federal gross income) as such section was in effect for taxable years beginning before January 1, 1983; and
(2)sections 1367(a)(1)(A) and (B) of the Internal Revenue Code (relating to S corporation items of income that were previously required to be included in the shareholder's Federal gross income).#
(2) sections 1367(a)(1)(A) and (B) of the Internal Revenue Code (relating to S corporation items of income that were previously required to be included in the shareholder's Federal gross income).