added hosts registration