added pref menu