Useful diagrams from the text I used (see README)