-small changes to seminar code (going through to post the ones that I've finished)