moar notes on duality