use getPostsFields