refactoring iterator for Creator