Updates to the vending machine sketch, both copies of the handler.