commited for the losted createInStock.js