added main prefs