peaks and inventories