done trivial part
done the stock example