refactored variable