HW8: Leaf Node and