an attempt to fix retrospect. Feedback welcome, as I'm not sure this is correct.