continued on slides for lecture 9