added diagrams and improved some text