search routine change