adding hierarchial clustering