added PCA in space