add replace_variable for variable names but not used yet