added subreddit functionality