now catches accumulators in for loops