additional progress on batch, adding search