Fixed typos and labelling. Changed table into tree.