; and (B) is the primary caregiver (or is, together with a spouse or other household member, a primary caregiver) for the child— (i) because the biological or adoptive parents of the child do not reside with the child or are unable or unwilling to serve as the primary caregiver for the child; and (ii) regardless of whether the individual has a legal relationship to the child (such as guardianship or legal custody). (7) Secretary The term Secretary means the Secretary of Housing and Urban Development. (8) Specialized housing The term specialized housing means housing that— (A) is affordable (as the Secretary shall define for purposes of this Act) for low-income families; (B) is restricted to occupancy only by low-income families; (C) is designed to meet the special physical needs of elderly persons; (D) accommodates the provision of supportive services that are expected to be needed, either initially or over the useful life of the housing, by elderly persons and children that the housing is intended to serve; and (E) provides a range of such services that are tailored to the needs of elderly persons and children occupying such housing. 4. Authorization of appropriations There is authorized to be appropriated to carry out this Act $20,000,000 for each of fiscal years 2017 through 2021.