add to_h for IpInformation