made by this section shall apply to amounts paid or incurred after December 31, 2017. (2) Transition rule In the case of qualified rehabilitation expenditures (within the meaning of section 47 of the Internal Revenue Code of 1986 as in effect before its repeal) with respect to any building— (A) owned or leased (as permitted by section 47 of the Internal Revenue Code of 1986 as in effect before its repeal) by the taxpayer at all times after December 31, 2017, and (B) with respect to which the 24-month period selected by the taxpayer under section 47(c)(1)(C) of such Code begins not later than the end of the 180-day period beginning on the date of the enactment of this Act, the amendments made by this section shall apply to such expenditures paid or incurred after the end of the taxable year in which the 24-month period referred to in subparagraph (B) ends. 3404. Repeal of work opportunity tax credit (a) In general Subpart F of part IV of subchapter A of chapter 1 is amended by striking section 51 (and by striking the item relating to such section in the table of sections for such subpart). (b) Clerical amendment The heading of such subpart F (and the item relating to such subpart in the table of subparts for part IV of subchapter A of chapter 1) are each amended by striking Rules for Computing Work Opportunity Credit and inserting Special Rules . (c) Effective date The amendments made by this section shall apply to amounts paid or incurred to individuals who begin work for the employer after December 31, 2017. 3405. Repeal of deduction for certain unused business credits (a) In general Part VI of subchapter B of chapter 1 is amended by striking section 196 (and by striking the item relating to such section in the table of sections for such part). (b) Effective date The amendments made by this section shall apply to taxable years beginning after December 31, 2017. 3406. Termination of new markets tax credit (a) In general Section 45D(f) is amended— (1) by striking 2019 in paragraph (1)(G) and inserting 2017 , and