adding code snippets

to talk about