changed names of Variables to be easier to understand