update demo with new iterator functions