add simple condition for convergence