prepare for vending machine