added dynamic address resolution, LatLong print to the console.log, made the callbackFunction optional.