implement ip_address helper