make repo iterable