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): September 30, 2017 December 31, 2016 Revolving line of credit with a U.S. bank up to $50,000 with interest at LIBOR plus 1.5%, maturing September 28, 2020 $ 36,000 $ — Term loan with a U.S. bank with monthly payments of principal and interest at LIBOR plus 2% — 2,925 Term loan with a U.S. bank with monthly payments of principal and interest at LIBOR plus 2% — 9,500 Term loan with a U.S. bank with monthly payments of principal and interest at LIBOR plus 2% — 21,670 Notes payable to a finance company due in monthly installments with 4.5% interest, maturing May 27, 2018 and June 30, 2018 881 2,919 Notes payable to a finance company due in monthly installments with 4% interest, maturing March 31, 2019 4,128 5,812 Total 41,009 42,826 Less current portion (3,638) (7,865) Non-current portion $ 37,371 $ 34,961 Bank Acceptance Notes Payable Bank acceptance notes issued to vendors with a zero percent interest rate $ — $ 307 The current portion of long-term debt is the amount payable within one year of the balance sheet date of September 30, 2017. The one-month London Interbank Offered Rate (LIBOR) was 1.23% on September 30, 2017. Maturities of long-term debt are as follows for the future one-year periods ending September 30, (in thousands): 2018 $ 3,638 2019 1,371 2020 36,000 2021 — 2022 — 2023 and thereafter — Total outstanding $ 41,009 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”). Upon signing the original Construction Loan Agreement, the Company deposited $11.0 million into a restricted bank account for owner’s contribution of construction costs. The Modification Agreement had a fifteen-month draw down period with monthly interest payments commencing on February 26, 2015 and ending on July 31, 2016. Thereafter, the entire outstanding principal balance shall be converted to a sixty-six month term loan with principal and interest payments due monthly amortized over three hundred months. The first principal and interest payment commenced on August 26, 2016, and continue the same day of each month thereafter. The final principal and interest payment would have been due on January 26, 2022 and would have included all unpaid principal and all accrued and unpaid interest. The Company may pay without penalty all or a portion of the amount owed earlier than due. Under the Construction Loan Agreement, the loan bears 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 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. The Company also had a term loan with East West Bank of $5.0 million with monthly payments of principal and interest that matured on July 31, 2019. On February 27, 2017, the Company repaid the outstanding balance of $2.8 million and terminated the loan. 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. And thereafter, the entire outstanding principal balance shall be converted to a sixty-four (64) month term loan, amended from a sixty-six (66) month term loan, with principal and interest payments due monthly amortized over three hundred (300) months. The first principal and interest payment was due on October 26, 2016 and would have continued on the same day of each month thereafter. The final principal and interest payment was due on January 26, 2022 and would have included all unpaid principal and all accrued and unpaid interest. Except as expressly changed by the Second Modifications, the terms of the original obligation and the Modification Agreement remained unchanged. On September 28, 2017, the Company repaid the outstanding balance of $11.2 million and terminated the loan. 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. As of September 30, 2017, the Company was in compliance with all covenants under the Credit Facility. As of September 30, 2017, $36.0 million was outstanding under the Credit Facility. 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, approximately $6 million, 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, approximately $0.1 million, to 3,322,413 New Taiwan dollars, approximately $0.1 million, during the term of the Finance Lease Agreement, including an initial payment in an amount of 60,148,532 New Taiwan dollars, approximately $2 million. The Finance Lease Agreement has a three-year term, with monthly payments, maturing on May 27 , 2018. The title to the equipment will be transferred to the Company’s Taiwan branch upon the expiration of the Finance Lease Agreement. As of September 30, 2017, $0.9 million was outstanding under this Finance Lease Agreement. 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, approximately $10.1 million, and simultaneously leased the equipment back from Chailease pursuant to the Finance Lease Agreement. The Finance Lease Agreement has a three-year term with monthly lease payments range from 6,772,500 New Taiwan dollars, approximately $0.2 million, to 7,788,333 New Taiwan dollars, approximately $0.3 million, during the term of the Finance Lease Agreement, including an initial payment in an amount of 62,927,180 New Taiwan dollars, approximately $2.0 million. Based on the payments made under the Finance Lease Agreement, the annual interest rate is calculated to be 4.0%. The title to the equipment will be transferred to the Company’s Taiwan branch upon the expiration of the Finance Lease Agreement. As of September 30, 2017, $4.1 million was outstanding under this Finance Lease Agreement. The Company’s Chinese subsidiary had credit facilities with China Construction Bank totaling $13.2 million, which could be drawn in U.S. currency, RMB currency, issuing bank acceptance notes to vendors with different interest rates or issuing standby letters of credit. The Company pledged the land use rights and buildings of its Chinese subsidiary as collateral for the credit facility. The Company’s Chinese subsidiary used $10.0 million of its credit facility to issue standby letters of credit as collateral for the Company’s Taiwan branch line of credit with China Construction Bank. On March 29, 2017, the Company repaid the outstanding balance and terminated the loan. As of September 30, 2017 and December 31, 2016, the Company had $14.0 million and $75.8 million of unused borrowing capacity, respectively. As of September 30, 2017, there was no restricted cash, investments or security deposit associated with the loan facilities. As of December 31, 2016, there was $1.7 million of restricted cash, investments or security deposit associated with the loan facilities. |