data from json file working