used this file to implement the data structure in json format