added search bar to detectors