; and (bb) by striking to States ; (x) in subparagraph (N), as so redesignated— (I) by inserting and reduce the risk of recidivism after families ; and (II) by striking so that such juveniles may be retained in their homes ; (xi) in subparagraph (S), as so redesignated, by striking and at the end; (xii) in subparagraph (T), as so redesignated— (I) by inserting or co-occurring disorder after mental health ; (II) by inserting court-involved or before incarcerated ; (III) by striking suspected to be ; (IV) by striking and discharge plans and inserting provision of treatment, and development of discharge plans ; and (V) by striking the period at the end and inserting a semicolon; and (xiii) by inserting after subparagraph (T) the following: (U) programs and projects designed— (i) to inform juveniles of the opportunity and process for sealing and expunging juvenile records; and (ii) to assist juveniles in pursuing juvenile record sealing and expungements for both adjudications and arrests not followed by adjudications; except that the State may not use more than 2 percent of the funds received under section 222 for these purposes; (V) programs that address the needs of girls in or at risk of entering the juvenile justice system, including pregnant girls, young mothers, survivors of commercial sexual exploitation or domestic child sex trafficking, girls with disabilities, and girls of color, including girls who are members of an Indian Tribe; and (W) monitoring for compliance with the core requirements and providing training and technical assistance on the core requirements to secure facilities;