Search functions, Preferences work