strongly type hostid instead of loosly typed string