done with the mergination of instock and outstock js