Entity information:
17. Income Taxes
 
The domestic and international components of income (loss) before provision for income taxes are presented as follows:

   
Year ended
 
   
December 31,
 
 
 
2017
   
2016
   
2015
 
                   
Domestic
 
$
(4,332
)
 
$
2,890
   
$
(2,475
)
Foreign
   
(8,942
)
   
(3,232
)
   
544
 
Total loss before income taxes
 
$
(13,274
)
 
$
(342
)
 
$
(1,931
)
 
 
Income tax expense (benefit) consists of the following:

   
Year ended
 
   
December 31,
 
 
 
2017
   
2016
   
2015
 
Current:
                 
   Federal
 
$
-
   
$
-
   
$
-
 
   State
   
35
     
324
     
67
 
   Foreign
   
2,821
     
3,379
     
4,457
 
      Total current
 
$
2,856
   
$
3,703
   
$
4,524
 
Deferred:
                       
   Federal
   
15,531
     
(1,244
)
   
(32,534
)
   State
   
(36
)
   
(716
)
   
468
 
   Foreign
   
(310
)
   
(332
)
   
(305
)
      Total deferred
   
15,185
     
(2,292
)
   
(32,371
)
      Income tax expense (benefit)
 
$
18,041
   
$
1,411
   
$
(27,847
)
 
The Company is subject to income and other taxes in a variety of jurisdictions, including the United States, Canada, and various state jurisdictions.  A reconciliation of income taxes computed at the United States statutory rate to the Company's effective income tax rate is shown below. 

    
Year ended
 
    
December 31,
 
 
 
2017
   
2016
   
2015
 
Combined basic federal rate
   
35%
 
   
35%
   
35%
Income tax benefit based on statutory income tax rate
 
$
(4,646
)
 
$
(119
)
 
$
(676
)
Increase in income taxes resulting from:
                       
Non-deductible expenses, state and foreign taxes
   
1,520
     
1,826
     
496
 
Foreign withholding taxes (net of foreign tax credit)
   
2,359
                 
Net operating loss adjustment
   
7,351
     
207
     
-
 
Enactment of change in federal tax rate for future years
   
10,329
     
-
     
-
 
Change in valuation allowance
   
1,128
     
(503
)
   
(27,667
)
Income tax expense (benefit)
 
$
18,041
   
$
1,411
   
$
(27,847
)
 

Deferred income taxes result principally from temporary differences in the recognition of loss carry-forwards and expense items for financial and income tax reporting purposes.  Significant components of the Company’s deferred tax assets as of December 31, 2017 and 2016 were as follows:

   
As of,
 
   
December 31,
 
 
 
2017
   
2016
 
Deferred tax assets
           
Accrued expenses and deferred revenue
 
$
1,715
   
$
3,345
 
Intangible assets and goodwill
   
-
     
-
 
Stock options
   
312
     
510
 
Net operating losses
   
22,908
     
26,149
 
Credits
   
209
     
11,034
 
Other
   
588
     
1,092
 
Valuation allowance
   
(6,952
)
   
(5,826
)
   Total deferred tax assets
 
$
18,780
   
$
36,304
 
                 
Deferred tax liabilties
               
Property, plant and equipment
 
$
(1,611
)
 
$
(2,154
)
Intangible assets and goodwill
   
(872
)
   
(2,469
)
Foreign earnings
   
-
     
(200
)
   Total deferred tax liabilities
 
$
(2,483
)
 
$
(4,823
)
                 
Total net deferred tax assets
 
$
16,297
   
$
31,481
 
 
As of December 31, 2017, the Company had federal and state net operating loss carryforwards of approximately $78,545 and $43,516, respectively.  The federal and state net operating losses do not include approximately $22,487 and $16,986, respectively, related to tax goodwill amortization that will not be realized for financial reporting purposes until the Company is able to take a tax benefit for those deductions. The federal and state net operating losses begin to expire in 2024 and 2018, respectively.  As of December 31, 2017, the Company had federal and state research and development credit carryforwards of approximately $210 and $86, respectively.  The federal research and development credit begins to expire in 2033. The state research and development credit carries forward indefinitely. The Company had foreign net operating loss carryforwards of approximately $20,816. Our ability to utilize our federal tax attribute carryforwards have been limited by Section 382 of the Internal Revenue Code of 1986, as amended (the ''Code''), which imposes an annual limit on the ability of a corporation that undergoes an ''ownership change'' to use its tax attribute carryforwards to reduce its liability.  An ownership change is generally defined as a greater than 50% increase in equity ownership by 5% shareholders in any three-year period.

At December 31, 2017, based on the weight of available evidence, including profitability in recent periods and the availability of expected future taxable income, the Company concluded that it is not more likely than not that the benefits of all deferred income tax assets will be realized. Accordingly, the Company increased the valuation allowances on some of its foreign and state related deferred income tax assets. The Company maintains a valuation allowance to offset foreign and certain state deferred tax assets, as realization of such assets do not meet the more-likely-than-not threshold. The net change in the total valuation allowance was an increase of $1,126 and a decrease of ($504) as of December 31, 2017 and December 31, 2016, respectively.

The Company accounts for income taxes in accordance with ASC Topic 740, “Income Taxes Recognition.”  The Company does not believe there are any material uncertain tax provisions under ASC 740.  The Company is subject to federal and state income tax, as well as income tax in various foreign jurisdictions in which the Company operates. The Company’s federal and state tax returns remain open and subject to potential government audit for the years 2014, 2015 and 2016. However, to the extent allowed by law the tax authorities may have the right to examine prior periods where net operating losses or tax credits were generated and carried forward, and make adjustments up to the amount of the net operating losses or credit carryforward amount.

The Tax Cuts and Jobs Act, enacted December 22, 2017, contains provisions that affect the Company in the current and future years. Reduction of the corporate tax rate from 35% to 21% reduced the value of our domestic deferred tax assets by $10,329, which is included in deferred tax expense in 2017. The Act also implemented a territorial tax system and imposed a repatriation tax on deemed repatriated earnings of foreign subsidiaries, neither of which had a significant impact on the current tax provision.
 
The SEC issued SAB 118 on December 22, 2017 which addresses situations where the registrant does not have all the necessary information available or analyzed to complete the accounting for certain income tax effects under the 2017 Tax Act.  Due to the lack of authoritative guidance issued, complexity, and enactment timing of the Act, the Company has made a reasonable estimate of the income tax effects and intend to refine this estimate as additional guidance, clarification, and analysis is available.  Any changes to our estimate will be reflected in continuing operations in the period the amounts are determined and within the “measurement period” allowed under SAB 118.