refs implements iterable