finished stock.cs class