more typos and better footnotes