reworking slides for lecture 08