; or ; (ii) in subparagraph (E), by striking paid leave and inserting leave ; (iii) in subparagraph (F)(ii), by striking and ; (iv) by amending subparagraph (G) to read as follows: (G) if the border patrol agent participates in a full day of advanced training but does not perform the entire required amount of scheduled overtime work under subparagraph (A)(ii) on that day, the border patrol agent shall be deemed to have performed scheduled overtime work during nonwork periods to the extent necessary to reach the required amount, but such deemed credit may be applied to no more than 90 hours in a calendar year; otherwise, the agent shall accrue a debt of hours for scheduled overtime not worked on such a day; and ; and (v) by adding at the end the following: (H) a border patrol agent may choose to reduce any debt of obligated overtime hours that the agent has incurred by applying any accrued compensatory time off for travel pursuant to section 5550b; such compensatory time off for travel may be applied towards such debt only after other forms of overtime or earned compensatory time credited to the border patrol agent have been exhausted. ; (E) by amending subsection (d) to read as follows: (d) Treatment as basic pay (1) In general Any overtime supplement in addition to the basic border patrol rate of pay for a border patrol agent resulting from application of the level 1 border patrol rate of pay or the level 2 border patrol rate of pay shall be treated as part of basic pay only— (A) except as otherwise provided in paragraph (3), for purposes of the definitions in section 8331(3) and 8401(4) and the provisions in chapters 83 and 84 that rely on those definitions (consistent with section 8331(3)(I)); (B) except as otherwise provided in paragraph (3), for purposes of sections 5595(c) and 8704(c); (C) for the purpose of section 8114(e)