add visitor interface for runSearch