Fixed waiter-demo to use array instead of dictionary