added ability to add hosts