ip.go now only has two functions