demo for iterators.