using hostname everywhere