updated documentation with rendered example