Credit Facilities | Credit Facilities Long-term debt consisted of the following: June 30, December 31, Term loan facility $ 163,860 $ 161,622 Revolving loan facility — — Convertible notes 76,498 84,500 Other debt 4,281 4,281 Debt discounts and deferred financing costs (79,615 ) (52,325 ) Long-term debt, including current portion 165,024 198,078 Less current portion — — Long-term debt $ 165,024 $ 198,078 Deerfield Facility Agreement, as Amended On April 3, 2017 (the “Original Agreement Date”), the Company entered into a facility agreement with affiliates of Deerfield Management Company, L.P. (collectively, “Deerfield”), pursuant to which Deerfield agreed to loan to the Company up to $120.0 million (the “Term Loan”), subject to the terms and conditions set forth in the facility agreement (the “Original Facility Agreement”). The Company drew the entire principal amount of the Term Loan on the Original Agreement Date. On August 9, 2018 (the “Restated Agreement Date”), the Company entered into an amended and restated facility agreement (the “Restated Facility Agreement”) with Deerfield, pursuant to which Deerfield and the Company canceled and extinguished the $40.5 million principal amount of 3.25% Convertible Senior Notes due 2020 (the “ 3.25% Senior Notes”) held by Deerfield in exchange for an additional $40.5 million of indebtedness under the Restated Facility Agreement (as a last-out waterfall tranche under the Restated Facility Agreement). The Company entered into the Restated Facility Agreement with Deerfield to, among other things, allow for the Company’s entry into the Restated Credit Agreement (as defined in the “Deerfield Revolver” section below) and the transactions contemplated therein. The Restated Facility Agreement amended and restated in its entirety the Company’s Original Facility Agreement with Deerfield. On November 18, 2018, the Company and Deerfield amended the Restated Facility Agreement pursuant to that certain First Amendment to Amended and Restated Facility Agreement, dated November 20, 2018 (the “First Facility Amendment”), which amendment permitted the Company to incur debt pursuant to its subordinated promissory note (the “JLL Note”) with Japan Lifeline Co., Ltd. (“JLL”), subject to certain conditions. On March 31, 2019, the Company and Deerfield entered into a Second Amendment to Amended and Restated Facility Agreement (the “Second Facility Amendment” and collectively with the Restated Facility Agreement and First Facility Amendment, the “Deerfield Facility Agreements”). On April 3, 2019, the terms of the Second Facility Amendment became effective. The Second Facility Amendment provides for, among other things, the reduction in the Company’s global excess liquidity covenant from $22.5 million to $17.5 million and the reduction of the Company’s minimum net revenue financial covenants. In addition, the percentage of the $120.0 million of first out waterfall loans (the “First Out Waterfall Loans”) due on April 2, 2021 decreased from 33.33% to 16.67% of the First Out Waterfall Loans outstanding on such date, while the percentage of the remainder of the First Out Waterfall Loans due on April 2, 2022 remained at 50% of the First Out Waterfall Loans outstanding on such date. The Deerfield Facility Agreements provide for the exchange of the existing notes representing the First Out Waterfall Loans for amended notes (the “First Out Waterfall Notes”) that provide that in the event that, in any calendar month beginning April 1, 2019 and ending June 30, 2020 (the “Mandatory Conversion Period”), if (A)(i) the arithmetic mean of the volume weighted average prices of the Company’s common stock (the “VWAP”) on the five ( 5 ) consecutive trading days ending on the 15th calendar day (or, if not a trading day, the first trading day thereafter) (the “Mandatory Conversion Measurement Date”) and (ii) the closing price for the Company’s common stock on the Mandatory Conversion Measurement Date, both exceed $6.625 (as may be adjusted to reflect certain events) (the “Fixed Conversion Price”) and (B)(i) the VWAP on the five ( 5 ) consecutive trading days ending on (and including) the third (3rd) trading day immediately prior to the Mandatory Conversion Measurement Date (the “Initial Mandatory Conversion Measurement Date”) and (ii) the closing price for the Company’s common stock on the Initial Mandatory Conversion Measurement Date both exceed the Fixed Conversion Price, Deerfield shall be obligated to convert $1,666,666 of the principal amount of the loan into shares of common stock at the Fixed Conversion Price (each, a “Deerfield Mandatory Conversion”), up to a maximum aggregate amount of $25.0 million over the Mandatory Conversion Period. Deerfield also has the option to convert up to an additional $50.0 million of the Company’s outstanding debt (the “Voluntary Conversion Amount”) at the greater of the Fixed Conversion Price and 85% of the arithmetic average of the VWAP of the Company’s common stock on each of the fifteen ( 15 ) consecutive trading days prior to the conversion date (the “15 Day VWAP”). The Company has the option to require conversion of the Voluntary Conversion Amount (less the amount of prior voluntary conversions) if the Company’s 15 Day VWAP is greater than 175% of the Fixed Conversion Price. The First Out Waterfall Notes also provide that in no event may Deerfield convert any note amounts, whether voluntarily or mandatorily, into shares of common stock if such conversion would result in Deerfield beneficially owning more that 4.985% of the Company’s outstanding common stock. The First Out Waterfall Notes also revises Deerfield’s existing right to convert a portion of the outstanding principal amount of the First-Out Waterfall Loan into a maximum of 1,430,001 shares of the Company’s common stock from the current conversion price of 96% of the arithmetic average of the VWAP of the Company’s common stock on each of the three (3) consecutive trading days prior to the conversion date (the “ 96% VWAP Price ”) to the greater of (i) $6.625 (subject to certain adjustments) or (ii) the 96% VWAP Price (each of the foregoing conversions, a “Deerfield Voluntary Conversion”). Further, the Second Facility Amendment also provided for an increase of $5.0 million, from $6.1 million to $11.1 million , in the amounts payable to Deerfield as a fee upon termination (or reduction, or required reduction of the outstanding amounts under the First Out Waterfall Notes to less than $10,000,000 ) of the Deerfield Facility Agreements and to reimburse Deerfield for all expenses incurred by Deerfield in connection with the negotiation and documentation of the Second Facility Amendment. The terms of the Second Facility Amendment became effective on April 3, 2019 upon satisfaction of certain conditions precedent, including consummation of the purchase and sale of an aggregate of 7,889,552 shares of the Company’s common stock (the “Equity Shares”) to select institutional investors and certain other parties (“Investors”) at a price per share of $6.61 (the “Equity Offering Price”), for an aggregate cash purchase price of approximately $52.15 million . The Company has issued the Deerfield Warrants and the First Out Waterfall Notes contemplated by the Second Facility Amendment. The Company evaluated the accounting for Second Facility Amendment transaction and determined it represented an extinguishment of the previously issued First Out Waterfall Loans under the Restated Facility Agreement, primarily due to the addition and significance of the conversion features as described above. During the three months ended June 30, 2019 , the Company recorded a loss on debt extinguishment of $29.3 million , which includes the change in fair value of the Deerfield Warrants of $4.8 million , offset by the removal of $5.9 million of derivative liabilities associated with the debt prior to the transaction. Any outstanding principal under the Deerfield Facility Agreements will accrue interest at a rate equal to 5.00% payable in cash and 4.75% payable in kind. The Deerfield Facility Agreements contain the same operating covenants applicable to First Credit Amendment. The Company’s prior right to satisfy interest payments on the First Out Waterfall Loans with up to 250,000 shares of its common stock was eliminated in connection with entry into the Second Facility Amendment. The Company’s obligations under the Deerfield Facility Agreements are secured by a first priority security interest in substantially all of the Company’s assets including intellectual property, with the priority of such security interest being pari passu with the security interest granted to Deerfield pursuant to the Restated Credit Agreement. During the three months ended June 30, 2019 , the Company converted $1.7 million of principal, or $1.2 million carrying value, of the First Out Waterfall Notes into 251,571 shares of common stock pursuant to Deerfield Mandatory Conversions. As of June 30, 2019 , the Company had a carrying amount of $124.6 million , inclusive of deferred financing costs of $3.2 million , related to the Term Loan. As of June 30, 2019 , annual interest expense on the Term Loan will range from $5.0 million to $32.2 million from the the effectiveness of the second Facility Amendment date through maturity. Upon a change of control of the Company, if the acquirer satisfies certain conditions set forth in the Deerfield Facility Agreements, such acquirer may assume the outstanding principal amount under the Deerfield Facility Agreements without penalty. If such acquirer does not satisfy the conditions set forth in the Deerfield Facility Agreements, Deerfield may, at its option, require the Company to repay the outstanding principal balance under the Facility Agreement plus, depending on the timing of the change of control transaction, the Company may be required to pay a make-whole premium and will be required to pay a change of control fee. At any time on or after April 2, 2021 (the “First Amortization Date”), the Company has the right to prepay any amounts owed under the Deerfield Facility Agreements without premium or penalty, unless such prepayment occurs in connection with a change of control of the Company, in which case the Company must pay Deerfield a change of control fee unless such change of control occurs beyond a certain period after the maturity date. At any time prior to the First Amortization Date, any prepayment made by the Company will be subject to a make-whole premium and, if such prepayment occurs in connection with a change of control of the Company, a change of control fee. Any amounts drawn under the Deerfield Facility Agreements may become immediately due and payable upon customary events of default, as defined in the Deerfield Facility Agreements, or the consummation of certain change of control transactions, as described above. Deerfield Warrants In connection with the execution of the Original Facility Agreement and the Restated Facility Agreement, the Company issued warrants to Deerfield (the “Original 2017 Deerfield Warrants” and the “Original 2018 Deerfield Deerfield Warrants,” respectively). In connection with entry into the Second Facility Amendment, the Company amended the Original 2017 Deerfield Warrants and the Original 2018 Deerfield Warrants in order to reduce the exercise price (as amended, the “2017 Deerfield Warrants” and the “2018 Deerfield Warrants”; collectively, the “Deerfield Warrants”) as summarized below: Number of shares of common stock Previous Exercise Price Amended Exercise price 2017 Deerfield Warrants 647,001 $ 92.30 $ 6.61 2018 Deerfield Warrants 875,001 $ 47.10 $ 6.61 All other material terms and conditions of the Deerfield Warrants remain the same. The number of shares of common stock of the Company into which the Deerfield Warrants are exercisable and the exercise price of the Deerfield Warrants will be adjusted to reflect any stock splits, recapitalizations or similar adjustments in the number of outstanding shares of common stock of the Company. The 2017 Deerfield Warrants expire on the 7 th anniversary of the Agreement Date. Subject to certain exceptions, the 2017 Deerfield Warrants contain limitations such that the Company may not issue shares of common stock of the Company to Deerfield upon the exercise of the 2017 Deerfield Warrants if such issuance would result in Deerfield beneficially owning in excess of 4.985% of the total number of shares of common stock of the Company then issued and outstanding. The holders of the 2017 Deerfield Warrants may exercise the 2017 Deerfield Warrants for cash, on a cashless basis or through a reduction of an amount of principal outstanding under the Term Loan. In connection with certain major transactions, the holders may have the option to convert the 2017 Deerfield Warrants, in whole or in part, into the right to receive the transaction consideration payable upon consummation of such major transaction in respect of a number of shares of common stock of the Company equal to the Black-Scholes value of the 2017 Deerfield Warrants, as defined therein, and in the case of other major transactions, the holders may have the right to exercise the 2017 Deerfield Warrants, in whole or in part, for a number of shares of common stock of the Company equal to the Black-Scholes value of the 2017 Deerfield Warrants. The 2018 Deerfield Warrants expire on the 7th anniversary of the Restated Agreement Date. The holders of the 2018 Deerfield Warrants may exercise the 2018 Deerfield Warrants for cash, on a cashless basis, or by reduction of the principal owed to Deerfield pursuant to the Restated Facility Agreement. As a result of the amendment to the Deerfield Warrants in connection with entry into the Second Facility Amendment, the change in fair value in the 2017 and 2018 Deerfield Warrants was $2.1 million and $2.7 million , respectively. The foregoing was charged to loss on debt extinguishment. Derivative Liabilities In accordance with Accounting Standards Codification (“ASC”) 815, “Derivatives and Hedging”, and ASC 470, “Debt”, the Company assessed whether any provisions within the Second Facility Amendment constitute embedded derivatives requiring bifurcation from the host instrument, and assessed the fair values of any such features. The Company determined that the Deerfield Mandatory Conversion and the Deerfield Voluntary Conversion effectively provided the holders with an embedded put option derivative meeting the definition of an “embedded derivative” pursuant to ASC 815. Consequently, the embedded derivative was bifurcated and accounted for separately. The Second Facility Amendment retained a provision that, upon a change of control of the Company, Deerfield may declare the outstanding principal of the loans to be immediately due and payable in full, together with any accrued and unpaid interest, a “Change of Control” fee, and a specified make-whole amount (prior to prior to the First Amortization Date). This feature remained substantively the same as outlined under the previous Restated Facility Agreement. The Company concluded that this provision meets the definition of a derivative and requires bifurcation and separate accounting pursuant to ASC 815. As of April 3, 2019, the Company measured the fair value of the above embedded derivatives at $28.7 million and recorded the amount in derivative liabilities in the Condensed Consolidated Balance Sheet. For the three and six months ended June 30, 2019 , the Company recorded income of $0.9 million and expense of $1.2 million , respectively, as a fair value adjustment of the derivative liabilities. Adjustments to the fair value of the derivative liabilities are recognized within other income (expense), net in the Condensed Consolidated Statements of Operations and Comprehensive Loss. Deerfield Revolver On the Agreement Date, the Company entered into a Credit and Security Agreement (the “Credit Agreement”) with Deerfield ELGX Revolver, LLC (“Deerfield Revolver”) pursuant to which the Company could borrow up to the lesser of $50.0 million or its applicable borrowing base (the “Previous Revolver”). The Company recorded $1.2 million in deferred financing costs related to the Previous Revolver and presented these costs as a deferred asset and amortized as interest expense over the term of the Previous Revolver on the Company’s Condensed Consolidated Balance Sheets. Effective January 12, 2018, the Company terminated its Credit Agreement with Deerfield Revolver and paid $1.3 million in termination fees. Additionally, the Company wrote off $1.0 million in unamortized deferred financing costs as of the termination date. The total of $2.3 million was charged to loss on debt extinguishment on the Company’s Condensed Consolidated Statements of Operations and Comprehensive Loss. On the Restated Agreement Date, the Company entered into a Credit Agreement (the “Restated Credit Agreement”) with Deerfield Revolver, pursuant to which the Company may borrow up to the lesser of $50.0 million or its applicable borrowing base from time to time prior to April 2, 2022 (the “ABL Facility”). On November 18, 2018, the Company and Deerfield amended the Restated Credit Agreement pursuant to that certain First Amendment to Amended and Restated Credit Agreement, dated November 20, 2018 (“First Credit Amendment”), which amendment permitted the Company to incur debt pursuant to the JLL Note, subject to certain conditions. On March 31, 2019, the Company entered into a Second Amendment to Credit Agreement and First Amendment to Guaranty and Security Agreement (the “Second Credit Amendment” and collectively with the Restated Credit Agreement and First Credit Amendment, the “Deerfield Credit Agreements”). The Second Credit Amendment includes conforming revisions to reflect the changes in the Second Facility Amendment. In addition, the Second Credit Amendment extends the maturity date of the Deerfield Credit Agreements to the earlier of (i) April 2, 2023 or (ii) the date the loans pursuant to the Deerfield Facility Agreements have been repaid in full. The borrowing base consists of eligible accounts, eligible inventory and eligible equipment. On the Restated Agreement Date, availability under the ABL Facility was $24.0 million . Any outstanding principal under the ABL Facility will accrue interest at a rate equal to the London Interbank Offered Rate (“LIBOR”) (with a 1% floor) plus 5.50% payable in cash. The interest rate will accrue on a minimum amount of $9.75 million , whether or not such amount is drawn (which amount in excess of the revolver usage accruing interest will not be subject to the unused line fee). The Company is subject to other fees in addition to interest on the outstanding principal amount under the ABL Facility, including a commitment fee of $0.5 million ( $0.2 million payable upon closing, $0.2 million payable on the 1st anniversary of the closing and $0.1 million payable on the 2nd anniversary of the closing), a $1.0 million fee upon the expiration of the ABL Facility, and an early commitment termination or reduction fee of 2.5% in the 1st year, 1.5% in the 2nd year, 0.5% in the 3rd year and 0% thereafter. The Company recorded $0.6 million in deferred financing costs, including the commitment fee, related to the ABL Facility and presented these costs as a deferred asset, to be subsequently amortized as interest expense over the term of the ABL Facility, on the Company’s Condensed Consolidated Balance Sheets. In conjunction with entering in the Second Credit Amendment, the Company recorded as additional $0.4 million in deferred financing costs. The Deerfield Credit Agreements has a $17.5 million minimum global liquidity requirement, net revenue tests, fixed charge coverage, capital expenditure limitations and operating expense tests. No event of default with respect the Company’s financial covenants had been declared as of June 30, 2019 . The Deerfield Credit Agreements also contains various representations and warranties, events of default, and affirmative and negative covenants, customary for financings of this type, including reporting requirements, requirements that the Company maintain timely reporting with the SEC and restrictions on the ability of the Company and its subsidiaries to incur additional liens on their assets, incur additional indebtedness and acquire and dispose of assets outside the ordinary course of business. The Company’s obligations under the Deerfield Credit Agreements are secured by a first priority security interest in substantially all of the Company’s assets including intellectual property, with the priority of such security interest being pari passu with the security interest granted to Deerfield pursuant to the Company’s Deerfield Facility Agreements (as described above). As of June 30, 2019 , the Company had no outstanding borrowings and $0.9 million in deferred financing costs relating to the ABL Facility. The remaining borrowings available was $19.4 million . 3.25% Convertible Senior Notes due 2020 On November 2, 2015, the Company issued $125.0 million aggregate principal amount of 3.25% Senior Notes in an underwritten public offering. The 3.25% Senior Notes are governed by a base indenture (“Base Indenture”), as amended and supplemented by the second supplemental indenture relating to the 3.25% Senior Notes (the “Second Supplemental Indenture,” and together with the Base Indenture, the “ 3.25% Senior Notes Indenture”), dated as of November 2, 2015, by and between the Company and the Trustee (as defined therein). The 3.25% Senior Notes are senior unsecured obligations and are: senior in right of payment to the Company’s future indebtedness that is expressly subordinated in right of payment to the 3.25% Senior Notes; equal in right of payment to the Company’s existing and future unsecured indebtedness that is not so subordinated, including the 2.25% Senior Notes; effectively junior to any of the Company’s secured indebtedness to the extent of the value of the assets securing such indebtedness; and structurally junior to all existing and future indebtedness (including trade payables) incurred by the Company’s subsidiaries. The 3.25% Senior Notes accrue interest at a rate of 3.25% per year, payable semi-annually. The 3.25% Senior Notes mature on November 1, 2020, unless earlier purchased, redeemed or converted into shares of common stock in accordance with the terms of the 3.25% Senior Notes Indenture. On or after November 1, 2018, the Company may redeem for cash all or any portion of the 3.25% Senior Notes, at its option, but only if the closing sale price of the Company’s common stock for at least 20 trading days (whether or not consecutive) during any 30 consecutive trading day period ending on, and including, the second trading day immediately preceding the date on which the Company provides notice of redemption, exceeds 130% of the conversion price on each applicable trading day. The redemption date can be no sooner than 30 trading days from the date on which notice of redemption is provided to the holders, during which time, up until 2 trading days prior to the redemption, the holders may elect to convert all or a portion of the 3.25% Senior Notes into shares of the Company’s common stock. The redemption price will equal 100% of the principal amount of the 3.25% Senior Notes to be redeemed, plus accrued and unpaid interest until, but excluding, the redemption date. No sinking fund is provided for the 3.25% Senior Notes. The 3.25% Senior Notes are convertible at the option of the holders: (i) in the calendar quarter following any quarter in which, for at least 20 out of the 30 consecutive trading days (whether or not consecutive) ending on the last day of the quarter, the closing price of the Company’s common stock is more than 130% of the then-current conversion price of the 3.25% Senior Notes; (ii) in the 5 business days following any 5 -day period in which the trading price per $1,000 note was less than 98% of the product of the closing sale price of the Company’s common stock and the current conversion rate; (iii) in the event that the Company has provided notice of redemption, but no later than 2 trading days prior to the Company’s proposed redemption date; or (iv) upon the occurrence of specified corporate events. On or after August 1, 2020 until the close of business on the second scheduled trading day immediately preceding the stated maturity date, holders may surrender their 3.25% Senior Notes for conversion at any time, regardless of the foregoing circumstances. The initial conversion rate of the 3.25% Senior Notes is 8.9431 shares of the Company’s common stock per $1,000 principal amount of the 3.25% Senior Notes, which is equivalent to an initial conversion price of approximately $111.82 per share. The conversion rate is subject to adjustment upon the occurrence of certain specified events. Upon conversion, the Company will at its election pay or deliver, as the case may be, cash, shares of the Company’s common stock or a combination of cash and shares of the Company’s common stock. If a fundamental change (as defined in the 3.25% Senior Notes Indenture) occurs prior to the stated maturity date, holders may require the Company to purchase for cash all or any portion of their 3.25% Senior Notes at a fundamental change purchase price equal to 100% of the principal amount of the 3.25% Senior Notes to be purchased, plus accrued and unpaid interest. The 3.25% Senior Notes Indenture contains customary terms and covenants and events of default with respect to the 3.25% Senior Notes. If an event of default (as defined in the 3.25% Senior Notes Indenture) occurs and is continuing, either the Trustee or the holders of at least 25% in aggregate principal amount of the outstanding 3.25% Senior Notes may declare the principal amount of the 3.25% Senior Notes to be due and payable immediately by notice to the Company (with a copy to the Trustee). If an event of default arising out of certain events of bankruptcy, insolvency or reorganization involving the Company or a significant subsidiary (as set forth in the 3.25% Senior Notes Indenture) occurs with respect to the Company, the principal amount of the 3.25% Senior Notes and accrued and unpaid interest, if any, will automatically become immediately due and payable. Upon issuance, the Company was not required to separate the conversion option from the 3.25% Senior Notes under ASC 815, “Derivatives and Hedging”. However, because the Company has the ability to settle the 3.25% Senior Notes in cash, common stock or a combination of cash and common stock, the Company applied the cash conversion guidance contained in ASC 470-20, “Debt With Conversion and other Options”, and accounted for the 3.25% Senior Notes by allocating the issuance proceeds between the liability-classified debt component and a separate equity component attributable to the conversion option. The equity component is classified in stockholders’ equity and the resulting discount on the liability component is accreted such that interest expense equals the Company’s borrowing rate for nonconvertible loan products of similar duration. The separation was performed by first determining the fair value of a similar debt that does not have an associated equity component. That amount was then deducted from the initial proceeds of the 3.25% Senior Notes as a whole to arrive at a residual amount, which was allocated to the conversion feature that is classified as equity. The initial fair value of the indebtedness was $97.8 million resulting in a $27.2 million allocation to the embedded conversion option. The embedded conversion option was recorded in stockholders’ equity and as a debt discount, to be subsequently accreted to interest expense over the term of the 3.25% Senior Notes. Underwriting discounts and commissions and offering expenses totaled $3.7 million and were allocated between the liability and the equity components in proportion to the allocation of proceeds and accounted for as debt issuance costs and equity issuance costs, respectively. As a result, $2.9 million attributable to the indebtedness was recorded as deferred financing costs, to be subsequently amortized as interest expense over the term of the 3.25% Senior Notes, and $0.8 million attributable to the equity component was recorded as a reduction to additional paid-in-capital in stockholders’ equity. On August 9, 2018, the Company entered into the Restated Facility Agreement with Deerfield, pursuant to which Deerfield and the Company canceled and extinguished the $40.5 million principal amount of the 3.25% Senior Notes held by Deerfield in exchange for an additional $40.5 million of indebtedness under the Restated Facility Agreement (as a last-out waterfall tranche under the Restated Facility Agreement). On March 31, 2019, the Company and two investors holding $73.4 million of the principal amount of the 3.25% Senior Notes entered into an Exchange Agreement (the “Exchange Agreement”) providing for the exchange of the holders’ 3.25% Senior Notes for new 5.00% Voluntary Convertible Senior Notes due 2024 (the “ 5.00% Voluntary Notes”) and new 5.00% Mandatory Convertible Senior Notes due 2024 (the “ 5.00% Mandatory Notes”, and together with the 5.00% Voluntary Notes, the “ 5.00% Notes”) which was completed on April 3, 2019. The Company evaluated the accounting for the Exchange Agreement transaction and determined it represented an extinguishment of the previously issued 3.25% Senior Notes, primarily due to the addition and significance of the conversion features as described above. During the three months ended June 30, 2019 , the Company recorded a gain on debt extinguishment of $17.5 million relating to the exchange of debt instruments. Additionally, the embedded conversion option of the 3.25% Senior Notes, which was originally recorded in additional paid-in capital, was reduced by $17.5 million . As of June 30, 2019 , the Company had outstanding borrowings of $10.4 million , and deferred financing costs of $0.1 million , related to the 3.25% Senior Notes. There were no principal payments due during the term. Annual interest expense on these 3.25% Senior Notes will range from $0.7 million to $0.8 million through maturity. 5.00% Convertible Senior Notes due 2024 On April 3, 2019, the Company completed the transactions contemplated by the Exchange Agreement (the “Exchange”), issuing $25.0 million of principal amount of the 5.00% Mandatory Notes and $42.0 million of principal amount of the 5.00% Voluntary Notes to the holders. The exchanging holders received $900 principal amount of 5.00% Notes for every $1000 principal amount of 3.25% Senior Notes plus accrued interest. The 5.00% Voluntary Notes and 5.00% Mandatory Notes are governed by separate Indentures (respectively, the “ 5.00% Voluntary Notes Indenture” and “ 5.00% Mandatory Notes Indenture”, and collectively, the “Indentures”), each dated April 3, 2019, by and between the Company and Wilmington Trust, National Association, as trustee. The 5.00% Notes will accrue interest at a rate of 5.00% per year, payable semi-annually in arrears on April 1 and October 1 of each year, commencing October 1, 2019. The 5.00% Notes mature on April 3, 2024, unless earlier purchased, redeemed or converted in accordance with the terms of the Indentures. The Indentures governing the 5.00% Notes contain customary terms and covenants and events of default. The 5.00% Voluntary Notes are convertible at the option of each holder into shares of common stock at any time on or after July 1, 2020, but prior to the close of business on the business day immediately preceding January 1, 2024, provided that, except if the Company undergoes a fundamental change (as defined in the 5.00% Voluntary Notes Indenture) and for certain other customary circumstances of conversion, each holder may not convert more than 30% the initial aggregate principal amount of his or her outstanding 5.00% Voluntary Notes per calendar quarter (a “ 5.00% Voluntary Conversion”). Thereafter, until the close of business on the business day immediately preceding the maturity date, the 5.00% Voluntary Notes will be convertible at the option of the holder at any time regardless of the conditions described in this paragraph. The initial conversion rate of the 5.00% Voluntary Notes in a 5.00% Voluntary Conversion is 0.12103 shares of the Company’s common stock per $1.00 principal amount of the 5.00% Notes, which is equivalent to an initial conversion price per share equal to $8.2624 (the “ 5.00% Voluntary Conversion Price”). The conversion rate is subject to adjustment upon the occurren |