updated clustering interface