passed: sametree