controller of iteration done