Notes Payable and Long-Term Debt | Note 9. Notes Payable and Long-Term Debt Notes payable and long-term debt consisted of the following for the periods indicated (in thousands): June 30, 2018 December 31, 2017 Revolving line of credit with a U.S. bank up to $60,000 with interest at LIBOR plus 1.4%, maturing September 28, 2020 $ 35,000 $ 49,000 Term loan with a U.S. bank with monthly payments of principal and interest at LIBOR plus 1.15%, maturing April 1, 2024 21,142 — Term loan with a U.S. bank with monthly payments of principal and interest at LIBOR plus 1.3%, maturing April 1, 2023 4,887 — Notes payable to a finance company due in monthly installments with 4.5% interest, maturing May 27, 2018 — 559 Total 61,029 49,559 Less current portion (3,161) (559) Non-current portion $ 57,868 $ 49,000 The current portion of long-term debt is the amount payable within one year of the balance sheet date of June 30, 2018. The one-month London Interbank Offered Rate (LIBOR) was 2.09% on June 30, 2018. Maturities of long-term debt are as follows for the future one-year periods ending June 30, (in thousands): 2019 $ 3,161 2020 38,161 2021 3,161 2022 3,161 2023 2,993 2024 and thereafter 10,392 Total outstanding $ 61,029 On June 14, 2016, the Company executed a Change in Terms Agreement, Notice of Final Agreement and Modification of the Construction Loan Agreement (the “Modification Agreement”) in connection with the Construction Loan Agreement with East West Bank for up to $22.0 million dollars to finance the construction of the Company’s campus expansion plan in Sugar Land, Texas, originally dated January 26, 2015 (the “Construction Loan Agreement”). Under the Construction Loan Agreement, the loan bore interest at an annual rate based on the one-month LIBOR Borrowing Rate plus 2.75%, and the interest rate was adjusted to LIBOR Borrowing Rate plus 2.0% under the Modification Agreement. On October 5, 2016, the Company executed a Change in Terms Agreement, Notice of Final Agreement and Second Modification to the Construction Loan Agreement (the “Second Modifications”) to the Construction Loan Agreement with East West Bank. The Second Modifications amended and restated in part the Company’s Promissory Note and Construction Loan Agreement, which was originally executed on January 26, 2015, and the Modification Agreement. The draw down period end date, under the Second Modifications, was amended from July 31, 2016 to September 30, 2016. On September 28, 2017, the Company repaid the outstanding balance of $11.2 million and terminated the loan. On June 24, 2016, the Company entered into a First Amendment to the Credit Agreement with East West Bank and Comerica Bank (“First Amendment”), a second lien deed of trust, multiple security agreements and promissory notes evidencing two credit facilities and a term loan originally entered into on June 30, 2015. The First Amendment increased the Company’s revolving lines of credit from $25 million to $40 million, which would have matured on June 30, 2018, and retained a $10.0 million term loan which would have matured on June 30, 2020. The First Amendment also provided for an additional $10.0 million equipment term loan with a one year drawdown period commencing on April 1, 2016 and maturing five years from the closing date of the First Amendment. The interest rate on these loans was adjusted by the First Amendment from the LIBOR Borrowing Rate plus 2.75% or 3.0% to LIBOR Borrowing Rate plus 2.0%. On September 28, 2017, the Company terminated the Credit Agreement and all outstanding balances of the loans had been repaid. On September 28, 2017, the Company entered into a Loan Agreement, a Promissory Note, an Addendum to the Promissory Note, a BB&T Security Agreement, a Trademark Security Agreement, and a Patent Security Agreement (together the “Credit Facility”) with Branch Banking and Trust Company (“BB&T”). The Credit Facility provides the Company with a three year, $50 million, revolving line of credit. Borrowings under the Credit Facility will be used for general corporate purposes. The Company will make monthly payments of accrued interest with the final monthly payment being for all principal and all accrued interest not yet paid. The Company’s obligations under the Credit Facility will be secured by the Company’s accounts receivable, inventory, intellectual property, all business assets with the exception of real estate and equipment. Borrowings under the Credit Facility will bear interest at a rate equal to the one-month LIBOR plus 1.50%. The Credit Facility requires the Company to maintain certain financial covenants and also contains representations and warranties, and events of default applicable to the Company that are customary for agreements of this type. On March 30, 2018, the Company executed a First Amendment to Loan Agreement, a Note Modification Agreement and Addendum to Promissory Note for $60 million, a Promissory Note and Addendum to Promissory Note for $26 million, a Promissory Note and Addendum to Promissory Note for $21.5 million, a Texas Deed of Trust and Security Agreement, an Assignment of Lease and Rent, and an Environmental Certification and Indemnity Agreement, (collectively, the “Amended Credit Facility”), with BB&T. The Amended Credit Facility amends the Company’s three-year $50 million line of credit with BB&T, originally executed on September 28, 2017 (the “Existing Loan”). The Amended Credit Facility (1) increases the principal amount of the three-year line of credit from $50 million to $60 million (the “Line of Credit”); (2) allows the Company to borrow an additional $26 million from BB&T in the form of a five-year capital expenditure loan (the “CapEx Loan”) and (3) allows the Company to borrow an additional $21.5 million in the form of a seventy-month real estate term loan (the “Term Loan”) to refinance the Company’s plant and facilities in Sugar Land, Texas. Borrowings under the Line of Credit will bear interest at a rate equal to the one-month LIBOR plus a Line of Credit margin ranging between 1.40% and 2.0%. Borrowings under the CapEx Loan will bear interest at a rate equal to the one-month LIBOR plus a CapEx Loan margin ranging between 1.30% and 2.0%. Borrowings under the Term Loan will bear interest at a rate equal to the one-month LIBOR plus a Term Loan margin ranging between 1.15% and 2.0%. The Company will make monthly payments of principal and accrued interest with the final monthly payments being for all principal and accrued interest not yet paid. The Company’s obligations under the Amended Credit Facility will be secured by the Company’s accounts receivable, inventory, equipment, intellectual property, real property, and virtually all business assets. As of June 30, 2018, the Company was in compliance with all covenants under the Amended Credit Facility. As of June 30, 2018, $35.0 million was outstanding under the Line of Credit, $21.1 million was outstanding under the Term Loan and $4.9 million was outstanding under the CapEx Loan. On May 27, 2015, the Company’s Taiwan branch entered into a Purchase and Sale Contract and a Finance Lease Agreement with Chailease Finance Co, Ltd. (“Chailease”) in connection with certain equipment, structured as a sale lease-back transaction. Pursuant to the Purchase and Sale contract, the Company’s Taiwan branch sold certain equipment to Chailease for a purchase price of 180,148,532 New Taiwan dollars, and simultaneously leased the equipment back from Chailease pursuant to the Finance Lease Agreement. The monthly lease payments range from 3,784,000 New Taiwan dollars, to 3,322,413 New Taiwan dollars, during the term of the Finance Lease Agreement, including an initial payment in an amount of 60,148,532 New Taiwan dollars. The Finance Lease Agreement had a three-year term, which matured on May 27, 2018. The title to the equipment was transferred to the Company’s Taiwan branch upon the expiration of the Finance Lease Agreement. As of June 30, 2018, the outstanding balance under this Finance Lease Agreement had been fully repaid. On March 31, 2016, the Company’s Taiwan branch entered into a Purchase and Sale Contract and a Finance Lease Agreement with Chailease in connection with certain equipment, structured as a sale lease-back transaction. Pursuant to the Purchase and Sale Contract, the Company’s Taiwan branch sold certain equipment to Chailease for a purchase price of 312,927,180 New Taiwan dollars, and simultaneously leased the equipment back from Chailease pursuant to the Finance Lease Agreement. The Finance Lease Agreement had a three-year term with monthly lease payments ranging from 6,772,500 New Taiwan dollars, to 7,788,333 New Taiwan dollars, during the term of the Finance Lease Agreement, including an initial payment in an amount of 62,927,180 New Taiwan dollars. Based on the payments made under the Finance Lease Agreement, the annual interest rate was calculated to be 4.0%. On October 6, 2017, the Company repaid the outstanding balance and terminated the loan, and title to the equipment was transferred to its Taiwan branch. On June 19, 2018, Prime World’s Taiwan branch entered into a one year revolving credit facility totaling 300 million New Taiwan dollars (the “Taiwan Credit Facility”) with Taishin International Bank in Taiwan (the “Bank”). Borrowing under the Taiwan Credit Facility will be used for short-term working capital. Prime World may draw upon the Taiwan Credit Facility from June 19, 2018 until May 31, 2019. The term of each draw shall be either 90 or 120 days. Borrowings under the Taiwan Credit Facility will bear interest at a rate of 2.00% for 90 day draws and 1.95% for 120 day draws. At the end of the draw term, Prime World will make payment for all principal and accrued interest. The agreements for the Taiwan Credit Facility contain representations and warranties, and events of default applicable to Prime World that are customary for agreements of this type. As of June 30, 2018, there was no outstanding balance under this credit facility. As of June 30, 2018 and December 31, 2017, the Company had $56.1 million and $1.0 million of unused borrowing capacity, respectively. As of June 30, 2018 and December 31, 2017, there were no restricted cash, investments or security deposit associated with the loan facilities, respectively. |