Lecture 3 task 6