variable renaming to clarify what frames are what