working on comparing trees