modified to display all hosts.