changes to clustering