Code before first refactoring