correct # of iterations