change to use a list of ips not singular ips