many edits up to dimensionality reduction.