added some visualization, added tree