model def for pca