add doc and examples