[PD] build an array with pd-msg