migrate code to use RedditPost