events and blog refactoring