for loop spacing, caching, local var again