updated search function for read sets