entities implement iterable