added example getCurrentIpAddress