adding search functionality to transactions