change getPublicIp to showPublicIp