inital json fetch working