add horrible method of getting the host IP