add code snippets