Getting ready for clustering