renaming vars for brevity and to better show what is happening