changes to the Post class