get the custom clustering working