added ability to subscribe to a tree