BEFORE REFACTORING