change getJSON to make it total