updated the iterator, temp save