removed no longer needed variable from the getJson function