more on lecture 7