prefs working