variable refactored