ex 1.1.16 - manually expanded tree recursion and got it right, yay!