added flag for private posts