add function of out of inventory