iterator for config