added iterative process in decide
Pytest passed