added lecture 5 notes