painfully completed the stock market example