refactor news