lots of refactoring and lensifying.  Found makePrisms - useful.