tested & fixed using names instead of IPs