The components of the provision for (benefit from) income taxes are as follows:
 
Year ended December 31,
 
2016
 
2015
 
2014
 
(in thousands)
Current:
 

 
 

 
 

U.S. federal
$
(1,333
)
 
$
(1,578
)
 
$
162

State and local
220

 
284

 
163

Foreign
6,161

 
5,737

 
4,683

Total current
5,048

 
4,443

 
5,008

Deferred:
 

 
 

 
 

U.S. federal

 

 
12,140

State and local

 

 
1,539

Foreign
762

 
(22,755
)
 
(420
)
Total deferred
762

 
(22,755
)
 
13,259

Provision for (benefit from) taxes on income
$
5,810

 
$
(18,312
)
 
$
18,267