store an iterator instead of the next entry to read