check tree