Using hostname instead of id