use let instead of var