traditional for loop