Modified for convergence loop