Tough choices at a vending machine