Trying to implement stocks