Using callback to get back IPs