The income tax provision (benefit) consisted of the following:

 

      2016     2015     2014  

Current:

      

Federal

   $     (1,574 )    $     4,577     $ 3,458  

State

     465       378       210  

Foreign

     414       (20 )      122  
       (695 )      4,935       3,790  

Deferred:

      

Federal

     (2,688 )      (2,203 )      (4,678 ) 

State

     (1,838 )      197       54  

Foreign

     (2,472 )      (296 )      101  

Increase (reversal) of valuation allowance

     30,405       0       (33 ) 
       23,407       (2,302 )          (4,556 ) 
     $ 22,712     $ 2,633     $ (766 )