added moving pca