base search and selector