knowing how the stock market performed is for planning your retirement