finish making get stock info function