Refactored iteration runner