structure for lecture 8