implemented basic stock module