Changed get_ip()