Adding code to create logit of cluster evolution