; and (ii) the public housing agency may establish a system for making dwelling units that are not occupied pursuant to the preference under clause (i) available . (b) Project-Based section 8 rental assistance Section 8(d)(1)(A) of the United States Housing Act of 1937 ( 42 U.S.C. 1437f(d)(1)(A) ) is amended— (1) by striking except that with respect and inserting the following: except that— (i) in the case of assisted dwelling units in a project assisted with project-based assistance under this section, the tenant selection criteria used by the owner shall give preference to otherwise eligible children who are in foster care, have attained an age such that the provision of foster care for the child will end by reason of the age of the child within 6 months, meet the requirements under clauses (i) and (ii) of paragraph (1) of the definition of the term at risk of homelessness in section 91.5 of title 24, Code of Federal Regulations, as in effect on September 1, 2016, and have agreed to comply with the requirements under section 38(c); and (ii) with respect ; and (2) by inserting after preference is provided pursuant to clause (i) after to be assisted . (c) Voucher assistance Section 8(o)(6)(A) of the United States Housing Act of 1937 ( 42 U.S.C. 1437f(o)(6)(A) ) is amended— (1) by redesignating clauses (i) and (ii) as clauses (ii) and (iii), respectively