Implementing the iterator syncing