This rocks. It not only condenses it, but it picked up on the fact that I was missing a check for the 4th argument.