solved about the stock example