preorder traversal yields a few wierdos at start and end