many changes to code snippets