if same tree