The (provision) benefit for income taxes is summarized as follows:

 

     For the Years Ended
October 31,
 
     2016      2015      2014  
     (in thousands)  

Current:

        

Federal

   $ (12,799 )     $ (6,646 )     $ (108 ) 

State

     (2,339 )       (2,816 )       206   

Foreign

     (723 )       (376 )       (952 ) 
  

 

 

    

 

 

    

 

 

 
     (15,861 )       (9,838 )       (854 ) 
  

 

 

    

 

 

    

 

 

 

Deferred:

        

Federal

     (2,101 )       (6,102 )       4,412   

State

     301         589         475   

Foreign

     (59 )       (57 )       (99 ) 
  

 

 

    

 

 

    

 

 

 
     (1,859 )       (5,570 )       4,788   
  

 

 

    

 

 

    

 

 

 

Total (provision) benefit for income taxes

   $ (17,720 )     $ (15,408 )     $ 3,934