search controller modified