Added one version of for loops