corrected direction of composition in diagrams