added getIPs, fixed getInterfaces