Variable refactoring beta