small updates to clustering