find ipv4 logic working