primary secondary and tertiary diagrams