lecture 7 stuff