working version: ip checker