The provision for income taxes consists of the following (in thousands):
 
Years Ended December 31,
 
2016
 
2015
 
2014
Current provision for income taxes:
 
 
 
 
 
  State
$
41

 
$
55

 
$
24

  Foreign
1,009

 
675

 
1,054

Total current
1,050

 
730

 
1,078

Deferred tax expense (benefit):
 
 
 
 
 
  Federal
17

 

 

  Foreign
(310
)
 
17

 
429

Total deferred
(293
)
 
17

 
429

Provision for income taxes
$
757

 
$
747

 
$
1,507