use more accurate name for local var, eliminate effectless statement