added iterator example