; (2) in subsection (a), as amended by paragraph (1)— (A) by striking (at no expense to the Government) ; and (B) by striking he shall and inserting the person shall ; and (3) by adding at the end the following: (b) Access to counsel The Attorney General may appoint or provide counsel to aliens in any proceeding conducted under any section of this Act. The Secretary of Homeland Security shall ensure that— (1) aliens have access to counsel inside all immigration detention and border facilities; (2) children do not appear before an immigration judge without counsel; and (3) children have their cases heard individually. . (b) Appointment of counsel for children and vulnerable aliens (1) In general Section 292 of the Immigration and Nationality Act ( 8 U.S.C. 1362 ), as amended by subsection (a), is further amended by adding at the end the following: (c) Children and vulnerable aliens Notwithstanding subsection (b), the Attorney General shall appoint counsel, at the expense of the Government if necessary, at the beginning of the proceedings or as expeditiously as possible, to represent in such proceedings any alien who has been determined by the Secretary of Homeland Security or the Attorney General to be— (1) a child (as defined in section 101(b)(1)); (2) a particularly vulnerable individual, such as— (A) a person with a disability; or (B) a victim of abuse, torture, or violence