prepare for adding search