adding get_ip