supporting multiple hosts