first example of iterative server