added examples to documentation.