Hw5 question 6