add documentation for example