added lecture 12 notes