Refactored several variable names to improve readability.