Doing auto clustering