refator preference, add search distance pref