adding code example snippets