clustering half-working