added basic hierach clustering model