Fixed a few typos and added a diagram