Diagram code ok