changed variable names for clarity
code cleanup