post blog refactoring