refactoring del blog