New refactoring: extract variable