updated jsonParseData() method and variable names