wrote a rough draft of the text, needs editing and a better tree visualization