minor changes and new snippets