[PD] outputting samples