added tree move support