json code for the tutorial