use wrapper functions getPostsFields and getTopicsFields