Renaming variable to match logic