fixed bug with parent of newTree. Added TODO rotate