prefs are needed in many views