Inventory consisted of the following amounts (in thousands):
December 31,
2016
2015
Parts and supplies
$
80,641
$
109,634
Work in progress
13,160
19,777
Inventory
$
93,801
$
129,411