allow maxiter=1