; (ii) at risk of homelessness (as such term is defined in section 401 of the McKinney-Vento Homeless Assistance Act ( 42 U.S.C. 11360 ); or (iii) fleeing, or attempting to flee, domestic violence, dating violence, sexual assault, or stalking. (B) Allocation In allocating amounts made available under this section, the Secretary shall— (i) not later than 60 days after the date of the enactment of this Act, allocate at least 50 percent of such amounts to public housing agencies in accordance with a formula that considers— (I) the capability of public housing agencies to promptly use emergency vouchers provided under this section; and (II) the need for emergency vouchers provided under this section in the geographical area, based on factors determined by the Secretary, including risk of transmission of coronavirus, high numbers or rates of sheltered and unsheltered homelessness, and economic and housing market conditions; (ii) allocate remaining amounts in accordance with a formula that considers— (I) the criteria under clause (i) and the success of a public housing agency in promptly utilizing vouchers awarded under clause (i); and (II) the capability of the public housing agency to create and manage structured partnerships with service providers for the delivery of appropriate community-based services