; or (B) computation of retired or retainer pay under chapter 71 or 1223 of this title. (c) Agreement Each member of the armed forces who participates in a program under this section shall enter into a written agreement with the Secretary of the military department concerned under which agreement that member shall agree as follows: (1) To accept an appointment or enlist, as applicable, and serve in the Ready Reserve of the armed forces concerned during the period of the inactivation of the member from active service under the program. (2) To undergo during the period of the inactivation of the member from active service under the program such inactive service training as the Secretary concerned shall require in order to ensure that the member retains proficiency, at a level determined by the Secretary concerned to be sufficient, in the military skills, professional qualifications, and physical readiness of the member during the inactivation of the member from active service. (3) Following completion of the period of the inactivation of the member from active service under the program, to serve two months as a member of the armed forces on active service for each month of the period of the inactivation of the member from active service under the program. (d) Conditions of release The Secretary of Defense shall prescribe regulations specifying the guidelines regarding the conditions of release that must be considered and addressed in the agreement required by subsection (c). At a minimum, the Secretary shall prescribe the procedures and standards to be used to instruct a member on the obligations to be assumed by the member under paragraph (2) of such subsection while the member is released from active service. (e) Order to active service Under regulations prescribed by the Secretary of the military department concerned, a member of the armed forces participating in a program under this section may, in the discretion of such Secretary, be required to terminate participation in the program and be ordered to active