Removed unwanted num_cluster loop