Iterative solution