Iteration method fixed for support of VS2010;