switched to using tag for ip lookups