adding search method for custom object fields