updated tutorial and example tree