adding host and ip