implemented new json interface
corrected add row