[PD] loading samples in arrays