support for multiple hosts addition