messages structure