working version of json applied data instead of single use case
added miles to label field