need to do tree example 2