added clusters and rank