added a rotate tree