added prefs option #23