Use accessor method instead of directly accessing properties
Finished Stocks challenge