code snippets in readme