adding search log functionality ... checkpoint