initial flow without outer loop