Updated StockList class