prefs and snippets