up to lecture 9