added callback to getInternalIP
merged