Using the restock value and how it works in vending