Illustrative code snippets