ASsignment 3 question 2