support for multiple hosts