added treednd example