add dendro code + not quite working yet