code examples added to documentation