refactor RedditUtil