var_functions completed