mod diagram