add doc and example