added iterator to repo impl