Refactor to use more descriptive variable and function names