focus only on valid hosts + unit test