num_vars is probably a better variable name, no?