added iterator sample