passing id for all vending machine statements