Make base passable to search() as parameter