allow specifying hosts separately