m108c: lecture 7 notes