clustering finished
json output finished