subreddit functionality implemented