How did the dog get on top of the tree