blog section refactoring