small refactoring news module