doc to example