simplify ip address lookup