If there's nowhere else custom is being used, let's just keep the if z check here. The comment is far more helpful than the variable names z or custom.