changed params to parsed json data