notes for cs 2010 lecture 2394272