improvements and typo corrections following course on 12th June