refactoring variable naming