Lecture 7 task 1