made changes to reddit.py