Added documentation to example