added clustering