updates to clustering tool