added getIp method