; and (iii) by striking and at the end; (C) in paragraph (2)— (i) by inserting may before make grants to and contracts with ; and (ii) by striking the period at the end and inserting a semicolon; and (D) by adding at the end the following: (3) shall provide technical assistance to States and units of local government on achieving compliance with the amendments to the core requirements and State Plans made by the Juvenile Justice and Delinquency Prevention Reauthorization Act of 2017 , including training and technical assistance and, when appropriate, pilot or demonstration projects intended to develop and replicate best practices for achieving sight and sound separation in facilities or portions of facilities that are open and available to the general public and that may or may not contain a jail or a lock-up; and (4) shall provide technical assistance to States in support of efforts to establish partnerships between a State and a university, institution of higher education, or research center designed to improve the recruitment, selection, training, and retention of professional personnel in the fields of medicine, law enforcement, the judiciary, juvenile justice, social work and child protection, education, and other relevant fields who are engaged in, or intend to work in, the field of prevention, identification, and treatment of delinquency. ; (3) in subsection (c)— (A) by inserting prosecutors, after public defenders, ; and (B) by inserting status offenders and after needs of ; and (4) by adding at the end the following: (d) Technical assistance to States regarding legal representation of children In consultation with experts in the field of juvenile defense, the Administrator shall— (1) develop and issue standards of practice for attorneys representing children