adding search patterns