changes to post.py