restructuring; several iterators in loop example
...