; and (B) inadmissible under section 212(a)(3). (3) Alternatives to detention (A) In general The Secretary of Homeland Security shall establish alternatives to detention programs for family units who are prohibited from being detained pursuant to paragraph (1). (B) Exception Alternatives to detention programs may not be used if release on bond or recognizance is determined to be a sufficient measure to ensure appearances at immigration proceedings and public safety. . 11. Private right of action (a) In general A person aggrieved of any violation of this Act or an amendment made by this Act may bring a civil action in an appropriate district court of the United States. (b) Relief For a prevailing plaintiff in a civil action brought under subsection (a), the court— (1) shall award damages in the amount equal to the greater of— (A) the actual damages of the plaintiff; or (B) $1,000 for each violation of this Act or an amendment made by this Act; and (2) may order injunctive relief.