renameing vars for clarity