training, technical assistance, and education to public housing agencies that are—
(A) at risk of being designated as troubled under section 1437d(j) of this title , to assist such agencies from being so designated; and
(B) designated as troubled under section 1437d(j) of this title , to assist such agencies in achieving the removal of that designation;