working on extracting the data from the json file