first clustering implementation (processing & display)