make apply PCA conifgurable