Added function to determine which posts are new