storing ip on device