; and (2) in the heading, by inserting Assistant Administrator of the before Office . 305. Temporary appointments (a) In general Section 229 ( 33 U.S.C. 3029 ) is amended to read as follows: 229. Temporary appointments (a) Appointments by President Temporary appointments in the grade of ensign, lieutenant junior grade, or lieutenant may be made by the President. (b) Termination A temporary appointment to a position under subsection (a) shall terminate upon approval of a permanent appointment for such position made by the President. (c) Order of precedence Appointees under subsection (a) shall take precedence in the grade to which appointed in accordance with the dates of their appointments as officers in such grade. The order of precedence of appointees who are appointed on the same date shall be determined by the Secretary. (d) Any one grade When determined by the Secretary to be in the best interest of the commissioned officer corps, officers in any permanent grade may be temporarily promoted one grade by the President. Any such temporary promotion terminates upon the transfer of the officer to a new assignment. (e) Delegation of appointment authority If the President delegates authority to the Secretary to make appointments under this section, the President shall, during a period in which the position of the Secretary is vacant, delegate such authority to the Deputy Secretary of Commerce or the Under Secretary for Oceans and Atmosphere during such period. . (b) Clerical amendment The table of sections in section 1 of the Act entitled An Act to authorize the Hydrographic Services Improvement Act of 1998, and for other purposes ( Public Law 107–372 ) is amended by striking the item relating to section 229 and inserting the following: Sec. 229. Temporary appointments. . 306. Officer candidates (a) In general Subtitle B ( 33 U.S.C. 3021 et seq.) is amended by adding at the end the following: 234. Officer candidates (a) Determination of number The Secretary shall determine the number of appointments of officer