further modified snippets