do pca before ann, otherwise cannot finish