Vending machine example