add annotation configuration
add annotation core function