Income tax provision consisted of the following (in thousands):
 
 
Year ended December 31,
 
2016
 
2015
 
2014
Current income tax:
 
 
 
Federal
$
—

 
$
—

 
$
—

State
545

 
392

 
779

Foreign
95

 
(1
)
 
—

Total
640

 
391

 
779

Deferred income tax:
 
 
 
Federal
—

 
—

 
(925
)
State
—

 
—

 
(181
)
Foreign
(573
)
 
(40
)
 
841

Total
(573
)
 
(40
)
 
(265
)
Provision for income taxes
$
67

 
$
351

 
$
514