Before refactoring code