duplicated changes to myDirIterator