Why the conditional? You already require the param, seems too much defensive coding?