changed text, added diagrams