make GenericCollection iterable