should use `var` here on the variable to make it only be in this function