add variable_function