renaming the variables to be more consistent with the functionality