middle content refactoring