understanding pointers in the Stocks app