; and (2) by adding at the end the following: (iii) Participation in treatment or rehabilitation activities to prepare recipients for employment and support employment Notwithstanding any limitation specified in clause (i), if an individual participates in substance abuse treatment, mental health treatment, or rehabilitation activities, the need for which has been determined to be necessary by a qualified independent medical, substance abuse, or mental health professional to prepare the individual for employment or to support the individual in employment, up to 12 weeks of such participation shall be disregarded for purposes of applying the limitation under clause (i). . 105. Demonstration projects and improved data collection to improve engagement and outcomes (a) In general Section 415 ( 42 U.S.C. 615 ) is amended to read as follows: 415. Demonstration projects and improved data collection to improve engagement and outcomes (a) Definitions In this section: (1) Engagement strategies The term engagement strategies means, with respect to a State carrying out a demonstration project under subsection (b), such policies, procedures, and activities as the State and Secretary shall determine necessary to achieve the desired outcomes of the project. (2) Poverty line The term poverty line has the meaning given that term in section 2110(c)(5). (3) State The term State has the meaning given that term in section 419(5). (4) State TANF program The term State TANF program means the State program funded under this part and includes a tribal program carried out under section 412. (b) Authority (1) Selection of demonstration projects (A) In general Not later than October 1, 2019, from the amounts reserved under paragraph (7) to carry out this subsection, the Secretary shall select and award grants to up to 10 States to develop and carry out demonstration projects for the purposes of evaluating the impact of different engagement strategies in State TANF programs on employment, earnings, family stability, and other outcomes on a