clustering with cliques