make collections properly iterable