Renaming badly named variable