Added the dimensionality reduction