added comments for the stock class