; and (2) is in the custody or control of the Federal Bureau of Prisons. (f) Program terms (1) Term of participation To correspond with the purposes and goals of the Program to promote bonding during the critical stages of child development, an eligible inmate selected for the Program may participate in the Program, subject to subsection (g), until the earliest of— (A) the date that the inmate’s term of imprisonment terminates; (B) the date the infant fails to meet any medical criteria established by the Director or the Director’s designee along with a collective determination of the persons listed in subsection (d)(1); or (C) 30 months. (2) Inmate requirements For the duration of an inmate’s participation in the Program, the inmate shall agree to— (A) take substantive steps towards acting in the role of a parent or guardian to any child of that inmate; (B) participate in any educational or counseling opportunities established by the Director, including topics such as child development, parenting skills, domestic violence, vocational training, or substance abuse, as appropriate; (C) abide by any court decision regarding the legal or physical custody of the child; (D) transfer to the Federal Bureau of Prisons any child support payments for the infant of the participating inmate from any person or governmental entity