pull me!

I would break up what's inside this for loop into functions to make it a little more readable. We can chat in person about how to do this when you're ready to think about refactoring.