adding the news feed code