Example code snippets