add doc some native snippets