altered variable names for readability