added convergence check again