changed hostSearcher to allow testing