making cluster_stats global