change to iterative_branch to ensure endstate satisfaction....