renames a variable