implement a draft version of  stock grid