add doc and example
add doc and example