add export feature
update doc