Refactoring (method extracting)