add json distance, sgement and...