refactor of known ips