added a stock calculator