Refactor helper to get parameters passed to it.  It didn't make sense to save references to things for a single pass through a function.