#182 - using var instead of Type, per review comment