add method for searchRecords NOTE: very basic.