Json Change and Main Code Additions

changed a key name in the JSON code and added a function that would
return a number.