adding iterator example