adding prefs