Bug in asynchronous call back still exists
Code working with Cafe JSON downloaded
added the distance to device functionality as a dummy variable