and inserting December 31, 2026 . (2) Effective date The amendments made by this subsection shall apply to property purchased after December 31, 2016. (b) Alternative fuel vehicle refueling property credit (1) In general Paragraph (1) of section 30C(g) is amended by striking December 31, 2016 and inserting December 31, 2018 . (2) Effective date The amendments made by this subsection shall apply to property placed in service after December 31, 2016. (c) New qualified plug-In electric drive motor vehicles (1) 2- and 3-wheeled plug-in electric vehicles (A) In general Clause (ii) of section 30D(g)(3)(E) is amended to read as follows: (ii) after December 31, 2016, and before January 1, 2019. . (B) Effective date The amendments made by this paragraph shall apply to vehicles acquired after December 31, 2016. (2) Elimination on limitation on number of vehicles eligible for credit (A) In general Section 30D , as amended by paragraph (1), is amended— (i) by striking subsection (e), and (ii) by redesignating subsections (f) and (g) as subsections (e) and (f), respectively. (B) Conforming amendment Paragraph (37) of section 1016(a) is amended by striking section 30D(f)(1) and inserting section 30D(e)(1) . (C) Effective date The amendments made by this paragraph shall apply to vehicles sold after the date of the enactment of this Act. (d) Second generation biofuel producer credit (1) In general Section 40(b)(6) is amended— (A) in subparagraph (E)(i)— (i) in subclause (I), by striking and at the end, (ii) in subclause (II), by striking the period at the end and inserting , and , and (iii) by inserting at the end the following new subclause: (III) qualifies as a transportation fuel (as defined in section 45T(e)(5)). , and (B) in subparagraph (J)(i), by striking 2017 and inserting 2019 . (2) Effective date The amendments made by this subsection shall apply to qualified second generation biofuel production after December 31, 2016. (e) Biodiesel and renewable diesel used as fuel (1) In general Section 40A is amended— (A) in