Also, could you explain what you're trying to do here. I can't quite follow the logic and tell what gets substituted. Is there a reason not to use a closure?