trees working as far as i can see, deepcopy issue