added tree plot