add json code and data file