adding search to active visits