changed getInventory to return a slice of IntentoryReturns