change to pref