Changes in the pref calculation