Exercise 2: part2 Q6