wrote lecture 28; update lecture 27