added visibleHost helper