changes for public and private post