Remind me again why we have to convert the ip to a string to compare? Would be nice to avoid if possible