added compass prefs