You are mostly correct! I will improve it not just whenever, but continually
This is the iterative method