; or (ii) with respect to an offer for an appointment on a contingent basis under subsection (h), complete such a residency by not later than two years after the date of such offer; and ; and (2) by adding at the end the following new subsection: (h) (1) The Secretary may appoint an individual under subsection (b)(1) on a contingent basis in accordance with this subsection if the Secretary reasonably anticipated that the individual will have completed the requirements for appointment under such subsection (b)(1) by not later than two years after the date on which the individual is so appointed. (2) An individual who is appointed to a position on a contingent basis under paragraph (1) shall be appointed to such position on a permanent basis if, by not later than two years after the date of the contingent appointment, the individual completes all the requirements for appointment under subsection (b)(1). (3) An individual who is appointed on a contingent basis under paragraph (1) who fails to complete the requirements for appointment under subsection (b)(1) by not later than two years after the date on which the individual is so appointed may not be appointed to such position on a permanent basis. .