convergence criteria is an input