renaming temp variables