tweaking the diagrams