use var instead of let