added tree demo