replaced some diagrams