Our major classes of inventories were as follows as of December 31, 2016 and 2015 (in thousands):
 
December 31,
 
2016
 
2015
Raw materials
$
14,382

 
$
19,673

Work in process
3,924

 
1,985

Finished goods
18,952

 
18,987

Total inventories
$
37,258

 
$
40,645