adds code snippets