added names to diagrams for clarity