updated for 6 centrality classes