use ipv6 and small changes