Modification of the diagrams