assignment 4 question 3