made changes to the second tree diagram