added data array return ready for PCA