working on user prefs