add hierachical clustering