split code examples and add description