added tree demonstration