Added new JSON data along with a few changes to a function at beginning.