using IP addresses as key in map