implementing clustering