small method combining refactoring