small additions and fixes to lecture 11