add more documentation to example