; grants The Attorney General may enter into contracts with, or award grants to, nonprofit agencies with relevant expertise in the delivery of immigration-related legal services to children to carry out the responsibilities under this section, including providing legal orientation, screening cases for referral, recruiting, training, and overseeing pro bono attorneys. Nonprofit agencies may enter into subcontracts with, or award grants to, private voluntary agencies with relevant expertise in the delivery of immigration related legal services to children in order to carry out this section. (e) Model guidelines on legal representation of children (1) Development of guidelines The Executive Office for Immigration Review, in consultation with voluntary agencies and national experts, shall develop model guidelines for the legal representation of alien children in immigration proceedings, which shall be based on the children's asylum guidelines, the American Bar Association Model Rules of Professional Conduct, and other relevant domestic or international sources. (2) Purpose of guidelines The guidelines developed under paragraph (1) shall be designed to help protect each child from any individual suspected of involvement in any criminal, harmful, or exploitative activity associated with the smuggling or trafficking of children, while ensuring the fairness of the removal proceeding in which the child is involved. (f) Duties of Counsel Counsel provided under this section shall— (1) represent the unaccompanied alien child in all proceedings and matters relating to the immigration status of the child or other actions involving the Department of Homeland Security; (2) appear in person for all individual merits hearings before the Executive Office for Immigration Review and interviews involving the Department of Homeland Security; (3) owe the same duties of undivided loyalty, confidentiality, and competent representation to the child as is due to an adult client