substfunc call is now dynamic in eliminate_dupliocate_variable_rows