some more work on PCA