json method added