refactor news + posts