Refactoring new posts