added external ip getter